diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-09-12 22:20:47 +0200 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2020-09-12 22:20:47 +0200 |
commit | 8dd8f46bcdddec793c18d76bfda1465824484aa9 (patch) | |
tree | 886918e9157f96ccdcba04b2a04aab6b0fdd1c8f /debian | |
parent | 5f75a3a378bf4859e3b25ff4c0267b4787ce6d4f (diff) |
Move systemd unit file at the right place
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'debian')
-rw-r--r-- | debian/swiftstory.service | 15 |
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 |