summaryrefslogtreecommitdiff
path: root/contrib/services/systemd/gnunet.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/services/systemd/gnunet.service')
-rw-r--r--contrib/services/systemd/gnunet.service16
1 files changed, 7 insertions, 9 deletions
diff --git a/contrib/services/systemd/gnunet.service b/contrib/services/systemd/gnunet.service
index 1c458cea6..25b3c2f0e 100644
--- a/contrib/services/systemd/gnunet.service
+++ b/contrib/services/systemd/gnunet.service
@@ -1,15 +1,13 @@
-# 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.
-
+# Typically placed into /usr/lib/systemd/system/gnunet.service
[Unit]
-Description=Service that runs a GNUnet for the user gnunet
+Description=GNUnet system service
After=network.target
[Service]
-User=gnunet
Type=simple
+User=gnunet
ExecStart=/usr/lib/gnunet/libexec/gnunet-service-arm -c /etc/gnunet.conf
+StateDirectory=gnunet
+
+[Install]
+WantedBy=multi-user.target