summaryrefslogtreecommitdiff
path: root/debian/swiftstory-offensive.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/swiftstory-offensive.service')
-rw-r--r--debian/swiftstory-offensive.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/swiftstory-offensive.service b/debian/swiftstory-offensive.service
new file mode 100644
index 0000000..86d7d92
--- /dev/null
+++ b/debian/swiftstory-offensive.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=SwiftStory game server
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+EnvironmentFile=-/etc/default/swiftstory-offensive
+ExecStart=/usr/bin/swiftstoryd
+Restart=on-failure
+Type=simple
+User=swiftstory
+
+[Install]
+WantedBy=multi-user.target
+Alias=swiftstoryd.service