diff options
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | cronie.initd | 4 |
2 files changed, 4 insertions, 9 deletions
@@ -4,7 +4,7 @@ # system version uses /usr/sbin pkgname=cronie-openrc -pkgver=20181002 +pkgver=20181030 pkgrel=1 pkgdesc="OpenRC cronie init script" arch=('any') @@ -16,7 +16,7 @@ provides=('openrc-cron' 'init-cron') conflicts=('fcron' 'fcron-openrc' 'init-cron') backup=('etc/init.d/cronie') source=("cronie.initd") -sha256sums=('7823956bf24a8778de10d8b4a9842763d25252f440a7ac7a310e0b995f8ff416') +sha256sums=('2f9bff24476bd24cf031a46cfe2687bf60158797aef6e6c425146abd323e798e') pkgver() { date +%Y%m%d @@ -24,11 +24,6 @@ pkgver() { _inst_initd(){ install -Dm755 ${srcdir}/$1.initd ${pkgdir}/etc/init.d/$1 - - sed -e 's|/var/run|/run|g' \ - -e 's|#!/sbin/openrc-run|#!/usr/bin/openrc-run|g' \ - -e 's|/usr/sbin|/usr/bin|g' \ - -i ${pkgdir}/etc/init.d/$1 } package() { diff --git a/cronie.initd b/cronie.initd index d49b562..3377855 100644 --- a/cronie.initd +++ b/cronie.initd @@ -1,10 +1,10 @@ -#!/bin/openrc-run +#!/usr/bin/openrc-run # Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 command="/usr/bin/crond" command_args="${CRONDARGS}" -pidfile="/var/run/crond.pid" +pidfile="/run/crond.pid" depend() { use clock logger |