Add systemd.service for snitch-web

This commit is contained in:
hulthe committed 2024-10-25 00:41:39 +02:00
1 parent fe79d2d91a
commit 32276ba1a3
1 file changed
+13
+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=snitch: Simple error logging web service
[Service]
Type=simple
Environment=SNITCH_DB=/var/lib/snitch/snitch.db
Environment=ROCKET_TEMPLATE_DIR=/var/lib/snitch/templates
ExecStart=snitch
Restart=always
RestartSec=100ms
RestartMaxDelaySec=10s
RestartSteps=10