summaryrefslogtreecommitdiff
path: root/contrib/services
diff options
context:
space:
mode:
authorxrs <xrs@mail36.net>2019-01-01 19:49:36 +0100
committerxrs <xrs@mail36.net>2019-01-01 19:49:36 +0100
commiteaf1cc8fcb320ce30cd19bdd2cc630eb272972f5 (patch)
treedd4fc44d3c730acc98554b119f110a756a191121 /contrib/services
parent019808f152cc0856ee9617038e5aa517adc2ee45 (diff)
add gnunet.service file for systemd
Diffstat (limited to 'contrib/services')
-rw-r--r--contrib/services/systemd/gnunet.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/services/systemd/gnunet.service b/contrib/services/systemd/gnunet.service
new file mode 100644
index 000000000..f4bf3a2d3
--- /dev/null
+++ b/contrib/services/systemd/gnunet.service
@@ -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