Commit 821bdb3c authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

pidof path

parent 5d3b31f7
......@@ -12,7 +12,7 @@ allowedname="httpd" # Which process should we get on speccified port
allowedpath="/usr/sbin/httpd" # Which is the correct path to run it
allowedusers="root;" # Which is the correct user to run it (separate with ; )
preaction="kill -9 $(pidof ${allowedname})" # Run a custom action if a problem is found
preaction="kill -9 $(/usr/sbin/pidof ${allowedname})" # Run a custom action if a problem is found
# postaction="service ${allowedname} restart" # Run a custom action after a problem was found and processes killed
downaction="service ${allowedname} restart" # What to do if the service is totally down down
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment