Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29993 Details for
Bug 35677
sys-process/mcron ebuild request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/mcron file
mcron-1.0.0-init (text/plain), 1.24 KB, created by
Doug Weimer
on 2004-04-25 01:40:38 UTC
(
hide
)
Description:
/etc/init.d/mcron file
Filename:
MIME Type:
Creator:
Doug Weimer
Created:
2004-04-25 01:40:38 UTC
Size:
1.24 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $$ > >depend() { > need clock localmount logger > provide cron >} > >checkconfig() { > if [ ${VIXIE_EMULATION} == "YES" ]; then > if [ ! -f "/etc/crontab" ]; then > eerror "Please create /etc/crontab, see the mcron info page for more information." > return 1 > fi > else > #Check for crontab files in /root/.cron > FILES=$(find /root/.cron -type f) > if [ -z ${FILES} ]; then > eerror "You must place root's crontab files in the /root/.cron directory." > eerror "See the mcron info page for more information." > return 1 > fi > fi >} > >start() { > checkconfig || return 1 > if [ ${VIXIE_EMULATION} == "YES" ]; then > ebegin "Starting mcron: vixie-cron emulation" > start-stop-daemon --start --quiet --exec /usr/bin/cron -- --noetc > else > ebegin "Starting mcron" > start-stop-daemon --start --quiet --exec /usr/bin/mcron -- -d > fi > eend $? >} > >stop() { > ebegin "Stopping mcron" > if [ ${VIXIE_EMULATION} == "YES" ]; then > start-stop-daemon --stop --quiet --pidfile /var/run/cron.pid > else > #When using mcron a pid file isn't created. So we use > #pkill to kill roots version of mcron. > pkill -o -u root mcron || return 1 > fi > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 35677
:
29992
| 29993 |
29994
|
29995
|
29996