Move pidfiles from /var/run/nut to /run/nut, there is nothing else to do since /var/run is a symlink to /run for some times now (policy 3.9.3)

This commit is contained in:
Laurent Bigonville 2019-07-27 13:25:06 +02:00
parent b493284ac5
commit b11ef489f7
8 changed files with 26 additions and 24 deletions

View file

@ -21,7 +21,7 @@ case "$1" in
[ -L /usr/doc/nut ] && rm -f /usr/doc/nut
# do stop the daemon on remove
invoke-rc.d nut stop && sleep 1
[ -d /var/run/nut ] && rm -rf /var/run/nut/
[ -d /run/nut ] && rm -rf /run/nut/
;;
upgrade)