mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 00:35:53 +08:00
Changed case of service.
This commit is contained in:
@@ -43,7 +43,7 @@ case "$1" in
|
|||||||
done
|
done
|
||||||
|
|
||||||
if ! pgrep "MMDVMHost" > /dev/null 2>&1; then
|
if ! pgrep "MMDVMHost" > /dev/null 2>&1; then
|
||||||
log_daemon_msg "Starting Repeater Services" "$NAME" || true
|
log_daemon_msg "Starting Repeater services" "$NAME" || true
|
||||||
if start-stop-daemon --start --quiet --background --oknodo --pidfile /var/run/$NAME.pid \
|
if start-stop-daemon --start --quiet --background --oknodo --pidfile /var/run/$NAME.pid \
|
||||||
--exec $DAEMON $CONFIG -- $DAEMON_OPTS; then
|
--exec $DAEMON $CONFIG -- $DAEMON_OPTS; then
|
||||||
log_end_msg 0 || true
|
log_end_msg 0 || true
|
||||||
|
|||||||
Reference in New Issue
Block a user