cronie: add /etc/default/anacron.
This commit is contained in:
1
srcpkgs/cronie/files/anacron
Normal file
1
srcpkgs/cronie/files/anacron
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# ANACRON_RUN_ON_BATTERY_POWER=no
|
||||||
2
srcpkgs/cronie/files/cronie/log/run
Executable file
2
srcpkgs/cronie/files/cronie/log/run
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec vlogger -p cron.notice
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'cronie'
|
# Template file for 'cronie'
|
||||||
pkgname=cronie
|
pkgname=cronie
|
||||||
version=1.7.0
|
version=1.7.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-inotify --without-selinux --with-pam
|
configure_args="--with-inotify --without-selinux --with-pam
|
||||||
--enable-anacron --enable-pie --enable-relro"
|
--enable-anacron --enable-pie --enable-relro"
|
||||||
@@ -55,6 +55,7 @@ post_install() {
|
|||||||
vinstall contrib/anacrontab 644 etc
|
vinstall contrib/anacrontab 644 etc
|
||||||
vinstall contrib/0hourly 644 etc/cron.d
|
vinstall contrib/0hourly 644 etc/cron.d
|
||||||
vinstall contrib/0anacron 755 etc/cron.hourly
|
vinstall contrib/0anacron 755 etc/cron.hourly
|
||||||
|
vinstall ${FILESDIR}/anacron 644 etc/default
|
||||||
|
|
||||||
# crontab must be setuid
|
# crontab must be setuid
|
||||||
chmod u+s ${DESTDIR}/usr/bin/crontab
|
chmod u+s ${DESTDIR}/usr/bin/crontab
|
||||||
|
|||||||
Reference in New Issue
Block a user