[ufoai] 14/20: Add ufoai-server.service file and support systemd.

Markus Koschany apo-guest at moszumanska.debian.org
Sun Nov 22 23:18:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository ufoai.

commit 355b75cd5ce2031b9aeb4ab206fc55ea0d1031c0
Author: Markus Koschany <apo at debian.org>
Date:   Sun Nov 22 16:05:08 2015 +0100

    Add ufoai-server.service file and support systemd.
---
 debian/ufoai-server.service | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/debian/ufoai-server.service b/debian/ufoai-server.service
new file mode 100644
index 0000000..2cf8c50
--- /dev/null
+++ b/debian/ufoai-server.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=UFO Alien Invasion dedicated server
+Documentation=man:ufoai-server(6)
+After=network.target
+RequiresMountsFor=/var/games/ufoai-server
+
+[Service]
+Restart=on-failure
+User=Debian-ufoai
+Group=games
+ExecStart=/usr/lib/ufoai-server/ufoded +exec debian_server.cfg
+
+[Install]
+WantedBy=multi-user.target
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ufoai.git



More information about the Pkg-games-commits mailing list