aboutsummaryrefslogtreecommitdiff
path: root/tibia-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'tibia-web.service')
-rw-r--r--tibia-web.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/tibia-web.service b/tibia-web.service
new file mode 100644
index 0000000..db46dd1
--- /dev/null
+++ b/tibia-web.service
@@ -0,0 +1,22 @@
+# Basic SYSTEMD service file for the Tibia Web Server
+
+[Unit]
+Description=Tibia Web Server
+After=network.target
+Requires=tibia-querymanager.service
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+Type=simple
+User=tibia-web
+Group=tibia-web
+ExecStart=/opt/tibia/web/web
+WorkingDirectory=/opt/tibia/web/
+Restart=always
+RestartSec=10
+LimitCORE=infinity
+StandardOutput=journal
+StandardError=journal
+SyslogIdentifier=%n