diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-20 09:09:55 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-10-20 09:09:55 +0000 |
commit | 1f34df82b10ab98c38c1fd9687fc523535818492 (patch) | |
tree | 376ce946223fd7e2d6e8164af4c6d630b5b1c5cc /openwrt/package/monit/files/monit.init | |
parent | 680ed499d4094154c01a9c0c97b91499bb508d39 (diff) |
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@2193 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/monit/files/monit.init')
-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 d1d6ce6f3..50b18de14 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 $? |