From 8dd8f46bcdddec793c18d76bfda1465824484aa9 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 12 Sep 2020 22:20:47 +0200 Subject: Move systemd unit file at the right place Signed-off-by: Olivier Gayot --- debian/swiftstory.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 debian/swiftstory.service (limited to 'debian') 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 -- cgit v1.2.3