From ac823a80ff08010ed7a996fc5f2b82c784700703 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 12 Sep 2018 20:28:53 +0200 Subject: Add systemd service file Signed-off-by: Olivier Gayot --- swiftstory.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 swiftstory.service (limited to 'swiftstory.service') 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 -- cgit v1.2.3