Adding the systemd config files to the docs dir for completeness
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=ServiceM8 FastAPI Inspector
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=michael
|
||||
Group=michael
|
||||
WorkingDirectory=/opt/webhooks
|
||||
Environment="WEBHOOK_DB_PATH=/opt/webhooks/servicem8_webhooks.db"
|
||||
Environment="WEBHOOK_INSPECTOR_HOST=0.0.0.0"
|
||||
Environment="WEBHOOK_INSPECTOR_PORT=18355"
|
||||
ExecStart=/opt/webhooks/bin/uvicorn servicem8_inspector:app --host 0.0.0.0 --port 18355
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user