dcron: log via syslog

This commit is contained in:
Juergen Daubert 2010-06-03 10:45:54 +00:00
parent 2eae3dc64e
commit 27c3b9b1b3
4 changed files with 4 additions and 10 deletions

View File

@ -20,8 +20,6 @@ drwxr-xr-x root/root usr/sbin/
-rwx------ root/root usr/sbin/crond
-rwxr-xr-x root/root usr/sbin/runjobs
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/log/
-rw-r----- root/root var/log/cron (EMPTY)
drwxr-xr-x root/root var/spool/
drwxr-xr-x root/root var/spool/cron/
drwxr-xr-x root/root var/spool/cron/cronstamps/

View File

@ -1,4 +1,4 @@
ad98b4e165a805ffad4396830dfd7e14 crond
59a2ec9d1fe95f2a8b16814c2efbb8e7 crond
3596a4fa9cf63bdf130fd533ca7703d4 crontab
02d848ba043a9df5bf2102a9f4bc04bd dcron-4.4.tar.gz
d80b27b1b9532890136c14d30e2a0d2b runjobs

View File

@ -4,14 +4,14 @@
name=dcron
version=4.4
release=1
release=2
source=(http://www.jimpryor.net/linux/releases/$name-$version.tar.gz \
crontab runjobs crond)
build() {
cd $name-$version
make PREFIX=/usr
make PREFIX=/usr
make DESTDIR=$PKG MANDIR=/usr/man CRONTAB_GROUP=users install
install -m 600 $SRC/crontab $PKG/var/spool/cron/crontabs/root
@ -20,8 +20,4 @@ build() {
install -D -m 755 $SRC/runjobs $PKG/usr/sbin/runjobs
install -d $PKG/etc/cron/{hourly,daily,weekly,monthly}
install -d $PKG/var/log
touch $PKG/var/log/cron
chmod 0640 $PKG/var/log/cron
}

View File

@ -5,7 +5,7 @@
case $1 in
start)
/usr/sbin/crond -l info -L /var/log/cron
/usr/sbin/crond -S -l info
;;
stop)
killall -q /usr/sbin/crond