summaryrefslogtreecommitdiff
path: root/debian/swiftstory.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/swiftstory.service')
-rw-r--r--debian/swiftstory.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/swiftstory.service b/debian/swiftstory.service
new file mode 100644
index 0000000..b0e7d31
--- /dev/null
+++ b/debian/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