Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions blitzortung/cli/start_webservice.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
"""Blitzortung webservice entry point."""

import os.path
import sys

from twisted.scripts.twistd import run

# Import webservice to trigger application setup and connection pool creation
import blitzortung.cli.webservice # noqa: F401


def main():
"""Run the twistd server."""
target_dir = os.path.dirname(os.path.abspath(__file__))

args = ["twistd"]
Expand Down
Loading
Loading