diff options
Diffstat (limited to 'other/bootstrap_daemon/tox-bootstrapd.service')
-rw-r--r-- | other/bootstrap_daemon/tox-bootstrapd.service | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/other/bootstrap_daemon/tox-bootstrapd.service b/other/bootstrap_daemon/tox-bootstrapd.service index 4b499311..db54cc41 100644 --- a/other/bootstrap_daemon/tox-bootstrapd.service +++ b/other/bootstrap_daemon/tox-bootstrapd.service | |||
@@ -4,16 +4,14 @@ After=network.target | |||
4 | 4 | ||
5 | [Service] | 5 | [Service] |
6 | Type=forking | 6 | Type=forking |
7 | PermissionsStartOnly=true | 7 | RuntimeDirectory=tox-bootstrapd |
8 | ExecStartPre=-/bin/mkdir /var/run/tox-bootstrapd -p | 8 | RuntimeDirectoryMode=750 |
9 | ExecStartPre=/bin/chown tox-bootstrapd:tox-bootstrapd -R /var/run/tox-bootstrapd | 9 | PIDFile=/var/run/tox-bootstrapd/tox-bootstrapd.pid |
10 | WorkingDirectory=/var/lib/tox-bootstrapd | 10 | WorkingDirectory=/var/lib/tox-bootstrapd |
11 | ExecStart=/usr/local/bin/tox-bootstrapd /etc/tox-bootstrapd.conf | 11 | ExecStart=/usr/local/bin/tox-bootstrapd /etc/tox-bootstrapd.conf |
12 | User=tox-bootstrapd | 12 | User=tox-bootstrapd |
13 | Group=tox-bootstrapd | 13 | Group=tox-bootstrapd |
14 | PIDFile=/var/run/tox-bootstrapd/tox-bootstrapd.pid | ||
15 | #CapabilityBoundingSet=CAP_NET_BIND_SERVICE | 14 | #CapabilityBoundingSet=CAP_NET_BIND_SERVICE |
16 | 15 | ||
17 | [Install] | 16 | [Install] |
18 | WantedBy=multi-user.target | 17 | WantedBy=multi-user.target |
19 | |||