cvs commit: src/usr.sbin/cron/cron cron.c cron.h do_command.c
src/usr.sbin/cron/lib misc.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Aug 24 17:51:37 GMT 2005
pjd 2005-08-24 17:51:36 UTC
FreeBSD src repository
Modified files:
usr.sbin/cron/cron cron.c cron.h do_command.c
usr.sbin/cron/lib misc.c
Log:
Use pidfile(3) in cron(8).
Note, that when cron(8) cannot create pidfile, it'll exit. I didn't
changed this behaviour, but its better to ignore errors other than
EEXIST, so daemon can be started on systems where /var/ file system
doesn't support locking (like NFS without rpc.lockd(8)).
Revision Changes Path
1.16 +26 -2 src/usr.sbin/cron/cron/cron.c
1.16 +2 -1 src/usr.sbin/cron/cron/cron.h
1.23 +1 -1 src/usr.sbin/cron/cron/do_command.c
1.13 +0 -59 src/usr.sbin/cron/lib/misc.c
More information about the cvs-src
mailing list