[arch-commits] Commit in dopewars/trunk (dopewars.service)

Alexander Rødseth arodseth at archlinux.org
Wed Jun 27 08:55:18 UTC 2018


    Date: Wednesday, June 27, 2018 @ 08:55:17
  Author: arodseth
Revision: 346322

Add a systemd service file for the dopewars server

Added:
  dopewars/trunk/dopewars.service

------------------+
 dopewars.service |   13 +++++++++++++
 1 file changed, 13 insertions(+)

Added: dopewars.service
===================================================================
--- dopewars.service	                        (rev 0)
+++ dopewars.service	2018-06-27 08:55:17 UTC (rev 346322)
@@ -0,0 +1,13 @@
+[Unit]
+Description=Dopewars Server
+After=network.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/dopewars -S -r /var/run/dw.pid -l /var/log/dw.log
+PIDFile=/var/run/dw.pid
+RemainAfterExit=yes
+ExecStop=/usr/bin/pkill -F /var/run/dw.pid
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list