projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added support for RTSP connection tracking modules
[openwrt.git]
/
openwrt
/
package
/
monit
/
files
/
monit.init
diff --git
a/openwrt/package/monit/files/monit.init
b/openwrt/package/monit/files/monit.init
index
d1d6ce6
..
50b18de
100644
(file)
--- a/
openwrt/package/monit/files/monit.init
+++ b/
openwrt/package/monit/files/monit.init
@@
-14,8
+14,12
@@
case $1 in
stop)
[ -f $PID_F ] && kill $(cat $PID_F)
;;
stop)
[ -f $PID_F ] && kill $(cat $PID_F)
;;
+ restart)
+ $0 stop
+ $0 start
+ ;;
*)
*)
- echo "usage: $0 (start|stop)"
+ echo "usage: $0 (start|stop
|restart
)"
exit 1
esac
exit $?
exit 1
esac
exit $?
This page took
0.023667 seconds
and
4
git commands to generate.