Add a message to know if the server is running or not.
[valheim_web.git] / doc / valheim_web.service
diff --git a/doc/valheim_web.service b/doc/valheim_web.service
new file mode 100644 (file)
index 0000000..37e070a
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=valheim_web
+
+[Service]
+WorkingDirectory=/var/www/valheim_web
+ExecStart=/var/www/valheim_web/valheim_web
+SyslogIdentifier=valheim_web
+Restart=always
+RestartSec=10
+KillSignal=SIGINT
+
+[Install]
+WantedBy=default.target
+