diff options
Diffstat (limited to 'other/rpm/tox-bootstrapd.service')
-rw-r--r-- | other/rpm/tox-bootstrapd.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/other/rpm/tox-bootstrapd.service b/other/rpm/tox-bootstrapd.service new file mode 100644 index 00000000..227c4497 --- /dev/null +++ b/other/rpm/tox-bootstrapd.service | |||
@@ -0,0 +1,17 @@ | |||
1 | [Unit] | ||
2 | Description=Tox DHT Bootstrap Daemon | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | RuntimeDirectory=tox-bootstrapd | ||
8 | RuntimeDirectoryMode=750 | ||
9 | PIDFile=/var/run/tox-bootstrapd/tox-bootstrapd.pid | ||
10 | WorkingDirectory=/var/lib/tox-bootstrapd | ||
11 | ExecStart=/usr/bin/tox-bootstrapd --config /etc/tox-bootstrapd.conf | ||
12 | User=tox-bootstrapd | ||
13 | Group=tox-bootstrapd | ||
14 | #CapabilityBoundingSet=CAP_NET_BIND_SERVICE | ||
15 | |||
16 | [Install] | ||
17 | WantedBy=multi-user.target | ||