Clean any leftover pid file from a stop

This commit is contained in:
Johan Smits 2017-08-19 12:59:20 +02:00
parent a2f6591212
commit c7c78a6b43
1 changed files with 3 additions and 0 deletions

View File

@ -1012,6 +1012,9 @@ function fix() {
$_func
[ $? != 0 ] && defunc
done
notify 'taskgrg' "Remove leftover pid files from a stop/start"
rm -rf /var/run/*.pid /var/run/*/*.pid
}
function _fix_var_mail_permissions() {