diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-23 23:53:55 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-06-23 23:53:55 -0300 |
commit | a0426fca029e4fabdbd378793c5c12a4a808abb7 (patch) | |
tree | fbeda447b8e1352c8943b036e432e00697aef8e1 /community/fcron | |
parent | c9e2e09a44815d2ae06f1da099f6a71ad4ac9ae2 (diff) | |
parent | 4319f36e44d4e7c70bf010c3286bb1739c59d4de (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/chrony/PKGBUILD
community/lxdm/PKGBUILD
community/oidentd/PKGBUILD
community/oss/PKGBUILD
community/pdnsd/PKGBUILD
community/ruby-cairo/PKGBUILD
community/subtle/PKGBUILD
core/lvm2/PKGBUILD
core/openldap/PKGBUILD
extra/smartmontools/PKGBUILD
Diffstat (limited to 'community/fcron')
-rwxr-xr-x | community/fcron/PKGBUILD | 15 | ||||
-rw-r--r-- | community/fcron/fcron.service | 10 |
2 files changed, 20 insertions, 5 deletions
diff --git a/community/fcron/PKGBUILD b/community/fcron/PKGBUILD index 367f72ea6..7cee8e79d 100755 --- a/community/fcron/PKGBUILD +++ b/community/fcron/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 72128 2012-06-08 23:36:39Z dreisner $ +# $Id: PKGBUILD 72788 2012-06-22 12:50:42Z dreisner $ # Contributor: Giorgio Lando <lando at imap dot cc> # Contributor: Sergej Pupykin # Contributor: Thomas Bächler @@ -6,7 +6,7 @@ pkgname=fcron pkgver=3.0.6 -pkgrel=6 +pkgrel=7 pkgdesc="feature-rich cron implementation" arch=(i686 x86_64 'mips64el') url="http://fcron.free.fr" @@ -20,12 +20,13 @@ backup=(etc/fcron/fcron.conf etc/fcron/fcron.allow etc/fcron/fcron.deny \ var/spool/fcron/systab var/spool/fcron/systab.orig) options=('emptydirs' '!makeflags') source=(http://fcron.free.fr/archives/$pkgname-$pkgver.src.tar.gz fcron.rc \ - systab systab.orig run-cron) -md5sums=('ced7ca753517eac67502f3fec3908d39' + systab systab.orig run-cron fcron.service) +md5sums=('69ebcb41921e2a282f41ebecb3a27053' 'e0c3f0bdc3c98fbbe46eff19001c18f2' '938722c6654ef7b07f4aa10001905ba1' 'bfb7daa22ebe22b9917e455c1ca4a382' - '5ff0cdcb9ec99778938ac6ef26800327') + '5ff0cdcb9ec99778938ac6ef26800327' + 'ab589cc6813ec32b5e96bf05c2b51c4c') build() { cd "$srcdir/$pkgname-$pkgver" @@ -68,6 +69,10 @@ package() { # Install run-cron script to make fcron run without dcron install -D -m755 "$srcdir/run-cron" "$pkgdir/usr/sbin/run-cron" + # Install systemd service + install -D -m644 "$srcdir/fcron.service" \ + "$pkgdir/usr/lib/systemd/system/fcron.service" + # avoid conflict with filesystem>=2012.06 rmdir "$pkgdir/var/run" } diff --git a/community/fcron/fcron.service b/community/fcron/fcron.service new file mode 100644 index 000000000..a47b4f19b --- /dev/null +++ b/community/fcron/fcron.service @@ -0,0 +1,10 @@ +[Unit] +Description=Cron Daemon + +[Service] +Type=forking +PIDFile=/run/fcron.pid +ExecStart=/usr/sbin/fcron + +[Install] +WantedBy=multi-user.target |