add gnunet.service file for systemd
authorxrs <xrs@mail36.net>
Tue, 1 Jan 2019 18:49:36 +0000 (19:49 +0100)
committerxrs <xrs@mail36.net>
Tue, 1 Jan 2019 18:49:36 +0000 (19:49 +0100)
contrib/services/systemd/gnunet.service [new file with mode: 0644]

diff --git a/contrib/services/systemd/gnunet.service b/contrib/services/systemd/gnunet.service
new file mode 100644 (file)
index 0000000..f4bf3a2
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=A framework for secure peer-to-peer networking
+
+[Service]
+User=gnunet
+Type=forking
+ExecStart=/usr/bin/gnunet-arm -s -c /etc/gnunetd.conf
+ExecStop=/usr/bin/gnunet-arm -e -c /etc/gnunetd.conf
+GuessMainPID=no
+
+[Install]
+WantedBy=multi-user.target