summarylogtreecommitdiffstats
path: root/gnunet-system.service
diff options
context:
space:
mode:
authorgrufo2021-08-24 02:27:59 +0100
committergrufo2021-08-24 02:27:59 +0100
commit2fc237961c3d96783c6e69f446f8834a7cb1c228 (patch)
treecea4644f66d7744be68a984c52a97feb7255261d /gnunet-system.service
parente52f4aae0209e11e8983d8a38a1593d47826e8a5 (diff)
downloadaur-2fc237961c3d96783c6e69f446f8834a7cb1c228.tar.gz
Added `systemd/user` service and updated `$optdepends`
Diffstat (limited to 'gnunet-system.service')
-rw-r--r--gnunet-system.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnunet-system.service b/gnunet-system.service
new file mode 100644
index 000000000000..63cbd717f1b3
--- /dev/null
+++ b/gnunet-system.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A framework for secure peer-to-peer networking
+
+[Service]
+User=gnunet
+Type=forking
+ExecStart=/usr/bin/gnunet-arm -c /etc/gnunet.conf -s
+ExecStop=/usr/bin/gnunet-arm -c /etc/gnunet.conf -e
+StateDirectory=gnunet
+GuessMainPID=no
+
+[Install]
+WantedBy=multi-user.target