Browse Source

updated gnunet.service file, added copyright notice

rexxnor 4 years ago
parent
commit
b7d497cb16
1 changed files with 10 additions and 9 deletions
  1. 10 9
      contrib/services/systemd/gnunet.service

+ 10 - 9
contrib/services/systemd/gnunet.service

@@ -1,14 +1,15 @@
-# This was copied from the AUR gnunet-git (https://aur.archlinux.org/gnunet-git.git/) at commit: 6c946b34
+# Copyright (C) 2019 GNUnet e.V.
+#
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved.  This file is offered as-is,
+# without any warranty.
 
 [Unit]
-Description=A framework for secure peer-to-peer networking
+Description=Service that runs a GNUnet for the user gnunet
+After=network.target
 
 [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
+Type=simple
+ExecStart=/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf