projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update monit to new upstream release (v4.6),
[openwrt-10.03/.git]
/
package
/
monit
/
files
/
monit.init
diff --git
a/package/monit/files/monit.init
b/package/monit/files/monit.init
index d1d6ce6f34985cca83b3028a18bc1ce0677c0948..50b18de149597aa65ca97ad6e74113c05fa9e995 100644
(file)
--- a/
package/monit/files/monit.init
+++ b/
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 $?