using full path for services tools

This commit is contained in:
solene rapenne 2017-01-26 18:03:46 +01:00
parent 40f1c64c97
commit fc01316345
1 changed files with 2 additions and 2 deletions

View File

@ -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