Adding the systemd config files to the docs dir for completeness

This commit is contained in:
2026-05-11 14:58:37 +10:00
parent d7dc2ade06
commit 28bcee78cd
2 changed files with 34 additions and 0 deletions
+17
View File
@@ -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
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=ServiceM8 FastAPI Webhook Receiver
After=network.target
[Service]
User=michael
Group=michael
WorkingDirectory=/opt/webhooks
Environment="WEBHOOK_HOST=0.0.0.0"
Environment="WEBHOOK_PORT=18354"
Environment="WEBHOOK_DB_PATH=/opt/webhooks/servicem8_webhooks.db"
ExecStart=/opt/webhooks/bin/uvicorn servicem8_webhook_receiver:app --host 0.0.0.0 --port 18354
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target