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