summaryrefslogtreecommitdiff
path: root/infra/lexsurf.service
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-02-28 09:18:48 +0100
committerMartin Fischer <martin@push-f.com>2021-03-03 12:52:46 +0100
commit4d43e952fff25b5b131e8699858da663a5ac2c42 (patch)
treeacff62119061480a1cd7580f25c16c539aabc2ae /infra/lexsurf.service
initial commit
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