summaryrefslogtreecommitdiff
path: root/infra/lexsurf.service
diff options
context:
space:
mode:
Diffstat (limited to 'infra/lexsurf.service')
-rw-r--r--infra/lexsurf.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/infra/lexsurf.service b/infra/lexsurf.service
new file mode 100644
index 0000000..3cdf6e4
--- /dev/null
+++ b/infra/lexsurf.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=lex.surf
+
+[Service]
+WorkingDirectory=/var/www/lex.surf/
+ExecStart=/var/www/lex.surf/lexsurf
+Restart=always
+RestartSec=30
+
+[Install]
+WantedBy=default.target