diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-10-20 09:09:55 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-10-20 09:09:55 +0000 |
commit | a5334cbe9e87868d78515b7c5ac27c00c506b674 (patch) | |
tree | 81bdc9ae9f315bdab13f7a16f77abe205899a288 /openwrt/package/monit/files | |
parent | 5ff12722f78a3720c698e793500f106659b68cfe (diff) | |
download | mtk-20170518-a5334cbe9e87868d78515b7c5ac27c00c506b674.zip mtk-20170518-a5334cbe9e87868d78515b7c5ac27c00c506b674.tar.gz mtk-20170518-a5334cbe9e87868d78515b7c5ac27c00c506b674.tar.bz2 |
update monit to new upstream release (v4.6), split in 2 packages (w/ and w/o ssl support), add a restart command to init-script.
SVN-Revision: 2193
Diffstat (limited to 'openwrt/package/monit/files')
-rw-r--r-- | openwrt/package/monit/files/monit.init | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openwrt/package/monit/files/monit.init b/openwrt/package/monit/files/monit.init index d1d6ce6..50b18de 100644 --- 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) ;; + restart) + $0 stop + $0 start + ;; *) - echo "usage: $0 (start|stop)" + echo "usage: $0 (start|stop|restart)" exit 1 esac exit $? |