From 30b5fb1f83a3044f008f4b584a8a87fba78bddef Mon Sep 17 00:00:00 2001 From: Christian Rose Date: Sat, 6 Oct 2018 17:59:03 +0200 Subject: [PATCH] Replacement of $DAEMON Changing $DAEMON to $NAME as $DAEMON doesn't exists --- service_sysv_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_sysv_linux.go b/service_sysv_linux.go index 0f6392a6..9e0420f6 100644 --- a/service_sysv_linux.go +++ b/service_sysv_linux.go @@ -346,7 +346,7 @@ case "$1" in $0 start ;; status) - status_of_proc -p "$PIDFILE" "$DAEMON" "$DESC" + status_of_proc -p "$PIDFILE" "$NAME" "$DESC" ;; *) echo "Usage: sudo service $0 {start|stop|restart|status}" >&2