diff options
author | Oleksandr Natalenko | 2020-04-12 19:18:11 +0200 |
---|---|---|
committer | Oleksandr Natalenko | 2020-04-12 19:18:11 +0200 |
commit | 6bec25d9fc1884aafe6e849f7e4e4ce713505182 (patch) | |
tree | 185ddbd0948a3888b55496e3ee2e1a3cece514d1 /bandwidthd-rotate.service | |
parent | 62445880808a7048e710d4f0e47fd54e47dcc69d (diff) | |
download | aur-6bec25d9fc1884aafe6e849f7e4e4ce713505182.tar.gz |
simplify rotate service
Signed-off-by: Oleksandr Natalenko <oleksandr@natalenko.name>
Diffstat (limited to 'bandwidthd-rotate.service')
-rw-r--r-- | bandwidthd-rotate.service | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bandwidthd-rotate.service b/bandwidthd-rotate.service index aea502296196..1a8d2208896b 100644 --- a/bandwidthd-rotate.service +++ b/bandwidthd-rotate.service @@ -2,6 +2,4 @@ Description=Daemon for graphing traffic of subnet machines - Rotate [Service] -User=bandwidthd -Group=bandwidthd -ExecStart=/usr/bin/bash -c '/usr/bin/kill -s HUP `cat /run/bandwidthd/bandwidthd.pid`' +ExecStart=/usr/bin/systemctl kill --signal=SIGHUP bandwidthd.service |