diff options
author | xrs <xrs@mail36.net> | 2019-01-01 19:49:36 +0100 |
---|---|---|
committer | xrs <xrs@mail36.net> | 2019-01-01 19:49:36 +0100 |
commit | eaf1cc8fcb320ce30cd19bdd2cc630eb272972f5 (patch) | |
tree | dd4fc44d3c730acc98554b119f110a756a191121 /contrib | |
parent | 019808f152cc0856ee9617038e5aa517adc2ee45 (diff) | |
download | gnunet-eaf1cc8fcb320ce30cd19bdd2cc630eb272972f5.tar.gz gnunet-eaf1cc8fcb320ce30cd19bdd2cc630eb272972f5.zip |
add gnunet.service file for systemd
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/services/systemd/gnunet.service | 12 |
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 @@ | |||
1 | [Unit] | ||
2 | Description=A framework for secure peer-to-peer networking | ||
3 | |||
4 | [Service] | ||
5 | User=gnunet | ||
6 | Type=forking | ||
7 | ExecStart=/usr/bin/gnunet-arm -s -c /etc/gnunetd.conf | ||
8 | ExecStop=/usr/bin/gnunet-arm -e -c /etc/gnunetd.conf | ||
9 | GuessMainPID=no | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=multi-user.target | ||