diff options
author | Donny Davies <woodchip@gentoo.org> | 2001-09-02 09:39:37 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2001-09-02 09:39:37 +0000 |
commit | 566a226ae546073fe0c8a2e1740dd1afb8b27768 (patch) | |
tree | d055c21a7eae21f6f3bee523fb53ff9a49455f50 /sys-apps/vcron/files | |
parent | more cleanups, fully strip out svc, coupla notes (diff) | |
download | gentoo-2-566a226ae546073fe0c8a2e1740dd1afb8b27768.tar.gz gentoo-2-566a226ae546073fe0c8a2e1740dd1afb8b27768.tar.bz2 gentoo-2-566a226ae546073fe0c8a2e1740dd1afb8b27768.zip |
add vcron rc6 style runscript
Diffstat (limited to 'sys-apps/vcron/files')
-rw-r--r-- | sys-apps/vcron/files/vcron | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys-apps/vcron/files/vcron b/sys-apps/vcron/files/vcron new file mode 100644 index 000000000000..54de2ffddbec --- /dev/null +++ b/sys-apps/vcron/files/vcron @@ -0,0 +1,17 @@ +#!/sbin/runscript + +need() { + clock localmount +} + +start() { + ebegin "Starting vcron" + start-stop-daemon --start --quiet --exec /usr/bin/cron -- 1>&2 + eend $? "Error starting vcron" +} + +stop() { + ebegin "Stopping vcron" + start-stop-daemon --stop --quiet --exec /usr/bin/cron -- 1>&2 + eend $? "Error stopping vcron" +} |