summaryrefslogtreecommitdiff
path: root/package/monit
diff options
context:
space:
mode:
Diffstat (limited to 'package/monit')
-rw-r--r--package/monit/files/monit.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/monit/files/monit.init b/package/monit/files/monit.init
index b0d1f1f73..1136daf9e 100644
--- a/package/monit/files/monit.init
+++ b/package/monit/files/monit.init
@@ -8,6 +8,7 @@ case $1 in
autostop) ;;
autostart)
test x"${monit:-NO}" = x"NO" && exit 0
+ test x"$monit" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
exec sh $0 start
;;
start)