mirror of git://bitreich.org/reed-alert
using full path for services tools
This commit is contained in:
parent
40f1c64c97
commit
fc01316345
|
@ -21,9 +21,9 @@
|
|||
service
|
||||
(command-return-code
|
||||
#+openbsd
|
||||
(list "rcctl" "check" (getf params :name))
|
||||
(list "/usr/sbin/rcctl" "check" (getf params :name))
|
||||
#+(or freebsd linux)
|
||||
(list "service" (getf params :name) "status")))
|
||||
(list "/usr/sbin/service" (getf params :name) "status")))
|
||||
|
||||
(create-probe
|
||||
pid-running
|
||||
|
|
Loading…
Reference in New Issue