diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-05 23:11:01 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-05 23:11:27 +0100 |
commit | 0ab2dac3f9fbd859443453662d7d339a24057d39 (patch) | |
tree | d19908f49bf4169da8a8a5648d1f302bd0755cc3 /testing/nut/upsd.initd | |
parent | 853cf22946557e7ec865e8f94ba9edb80a242c11 (diff) | |
download | aports-0ab2dac3f9fbd859443453662d7d339a24057d39.tar.bz2 aports-0ab2dac3f9fbd859443453662d7d339a24057d39.tar.xz |
testing/nut: improve abuild and scripts a bit and rebuild
Diffstat (limited to 'testing/nut/upsd.initd')
-rw-r--r-- | testing/nut/upsd.initd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/nut/upsd.initd b/testing/nut/upsd.initd index ccfac08fda..c765c59b87 100644 --- a/testing/nut/upsd.initd +++ b/testing/nut/upsd.initd @@ -1,7 +1,7 @@ #!/sbin/openrc-run name=nut-server -pidfile=/var/run/nut/upsd.pid +pidfile=/run/nut/upsd.pid command=/usr/sbin/upsd required_files="/etc/nut/nut.conf /etc/nut/upsd.conf" extra_started_commands="reload" @@ -34,6 +34,6 @@ stop_post() { reload() { ebegin "Reloading $name" - start-stop-daemon --signal HUP --pidfile ${pidfile} + start-stop-daemon --signal HUP --pidfile "$pidfile" eend $? } |