From 4815b90bf734e21df303562ee9703b04766cc05f Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Mon, 9 Dec 2024 10:45:16 +0000 Subject: [PATCH] Force pidfile to be what openrc expects for dcron --- openrc/dcron/APKBUILD | 3 +-- openrc/dcron/runfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/openrc/dcron/APKBUILD b/openrc/dcron/APKBUILD index 100e9bb..0698a0a 100644 --- a/openrc/dcron/APKBUILD +++ b/openrc/dcron/APKBUILD @@ -3,10 +3,9 @@ . ../APKBUILD-openrc.template -pkgver=2021.07.03.02 pkgrel=0 sha512sums=" -079c03c1f61fed52305c832a33b0ff62855004dac3d98c02d2613456cfdf068975d1b25f88f0c6059212af83f8790ade38abc80151811d0746bd6aa0378d7195 runfile +00f0fd4de0a340dc98c2b84ac2e3a3ef65a4168b74bc4eef85828c7c7c7f02393bb3b92e989d8a33b325d2d09c736e15cc0ce766756e86f0de2bff87d66d9dcb runfile 10d854a2dc5aa7197f6a47f1ca710ebcc723a37b6cae9f9e52f2e86f400842c862c9cb7c5cd7db1814db7e55160b85a39b6f721868578babbf1bd76951777312 conffile " diff --git a/openrc/dcron/runfile b/openrc/dcron/runfile index 6430a17..260ffbf 100644 --- a/openrc/dcron/runfile +++ b/openrc/dcron/runfile @@ -1,8 +1,8 @@ #!/sbin/openrc-run command="/usr/sbin/crond" -command_args="$DCRON_OPTS" pidfile="/var/run/dcron.pid" +command_args="$DCRON_OPTS -p $pidfile" description="Dillon's lightweight cron daemon" depend() {