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 | 941881371fd68d93cc26a302bb4cbf58d994787b (patch) | |
tree | d30515f5af744a6f850b22c6928571d767f3c9c8 /package/monit/files | |
parent | 67fdfc081baac5bdd5612beb7fe4dd9a5614b277 (diff) | |
download | upstream-941881371fd68d93cc26a302bb4cbf58d994787b.tar.gz upstream-941881371fd68d93cc26a302bb4cbf58d994787b.tar.bz2 upstream-941881371fd68d93cc26a302bb4cbf58d994787b.zip |
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2193 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/monit/files')
-rw-r--r-- | package/monit/files/monit.init | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/monit/files/monit.init b/package/monit/files/monit.init index d1d6ce6f34..50b18de149 100644 --- 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) ;; + restart) + $0 stop + $0 start + ;; *) - echo "usage: $0 (start|stop)" + echo "usage: $0 (start|stop|restart)" exit 1 esac exit $? |