aboutsummaryrefslogtreecommitdiff
path: root/cmd/httpdebug/httpdebug.service
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/httpdebug/httpdebug.service')
-rw-r--r--cmd/httpdebug/httpdebug.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/cmd/httpdebug/httpdebug.service b/cmd/httpdebug/httpdebug.service
new file mode 100644
index 0000000..01cf9af
--- /dev/null
+++ b/cmd/httpdebug/httpdebug.service
@@ -0,0 +1,13 @@
+[Unit]
+Description="http debugger"
+
+[Service]
+ExecStart=/usr/bin/httpdebug
+Restart=always
+RestartSec=30s
+EnvironmentFile=/etc/within.website/x/httpdebug.env
+LimitNOFILE=infinity
+DynamicUser=true
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file