1 |
On Wed, 2001-11-14 at 15:47, Tibor Rudas wrote: |
2 |
> Hello |
3 |
> |
4 |
> Shouldn't the line in the dcron init script which starts crond pipe output |
5 |
> to a logfile (e.g /var/log/cron) as described in the README? |
6 |
> |
7 |
> regards |
8 |
> |
9 |
> Tibor Rudas |
10 |
> ---- |
11 |
> |
12 |
|
13 |
> #!/sbin/runscript |
14 |
> |
15 |
> depend() { |
16 |
> need clock |
17 |
> } |
18 |
> |
19 |
> start() { |
20 |
> ebegin "Starting dcron" |
21 |
> start-stop-daemon --start --quiet --exec /usr/sbin/crond >> /var/log/cron 2>&1 |
22 |
|
23 |
should actually be: |
24 |
|
25 |
start-stop-daemon --start --quiet --exec /usr/sbin/crond -- >> |
26 |
/var/log/cron.log 2>&1 |
27 |
|
28 |
|
29 |
Ill commit when cvs.gentoo.org is up again. Thanks! |
30 |
|
31 |
> eend $? |
32 |
> } |
33 |
> |
34 |
> stop() { |
35 |
> ebegin "Stopping dcron" |
36 |
> start-stop-daemon --stop --quiet --exec /usr/sbin/crond |
37 |
> eend $? |
38 |
> } |
39 |
|
40 |
|
41 |
-- |
42 |
|
43 |
Martin Schlemmer |
44 |
Gentoo Linux Developer, Desktop Team Developer |
45 |
Cape Town, South Africa |