summaryrefslogtreecommitdiff
path: root/dcron
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-06-03 10:45:54 +0000
committerJuergen Daubert <jue@jue.li>2010-06-03 10:45:54 +0000
commit27c3b9b1b3cd20b28f09c4913a194f169a48927f (patch)
tree1564812a697394e1918341e2c349162ee9bc1298 /dcron
parent2eae3dc64e2e239f3458fd354043a4d2a374f007 (diff)
downloadcore-27c3b9b1b3cd20b28f09c4913a194f169a48927f.tar.gz
core-27c3b9b1b3cd20b28f09c4913a194f169a48927f.tar.xz
dcron: log via syslog
Diffstat (limited to 'dcron')
-rw-r--r--dcron/.footprint2
-rw-r--r--dcron/.md5sum2
-rw-r--r--dcron/Pkgfile8
-rwxr-xr-xdcron/crond2
4 files changed, 4 insertions, 10 deletions
diff --git a/dcron/.footprint b/dcron/.footprint
index 083f449a..78b7a40a 100644
--- a/dcron/.footprint
+++ b/dcron/.footprint
@@ -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/
diff --git a/dcron/.md5sum b/dcron/.md5sum
index 827fc5eb..c7583101 100644
--- a/dcron/.md5sum
+++ b/dcron/.md5sum
@@ -1,4 +1,4 @@
-ad98b4e165a805ffad4396830dfd7e14 crond
+59a2ec9d1fe95f2a8b16814c2efbb8e7 crond
3596a4fa9cf63bdf130fd533ca7703d4 crontab
02d848ba043a9df5bf2102a9f4bc04bd dcron-4.4.tar.gz
d80b27b1b9532890136c14d30e2a0d2b runjobs
diff --git a/dcron/Pkgfile b/dcron/Pkgfile
index c6a83c05..f9a209fe 100644
--- a/dcron/Pkgfile
+++ b/dcron/Pkgfile
@@ -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
}
diff --git a/dcron/crond b/dcron/crond
index 656b892b..732889c0 100755
--- a/dcron/crond
+++ b/dcron/crond
@@ -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

Generated by cgit