using full path for services tools - reed-alert - Lightweight agentless alerting system for server
HTML git clone git://bitreich.org/reed-alert/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/reed-alert/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit fc01316345b08bedb4354d552a22fa4b7cc7aa7e
DIR parent 40f1c64c97fbe921f2c45392b3280ab12b4b77c9
HTML Author: solene rapenne <solene@dataswamp.org>
Date: Thu, 26 Jan 2017 18:03:46 +0100
using full path for services tools
Diffstat:
M probes.lisp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/probes.lisp b/probes.lisp
@@ -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