mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
parent
381ebf4146
commit
ff8b924d91
@ -2,12 +2,13 @@
|
||||
# Maintainer: Mark Hills <mark@xwax.org>
|
||||
pkgname=cronie
|
||||
pkgver=1.6.1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="The standard UNIX daemon crond that runs specified programs at scheduled times"
|
||||
url="https://github.com/cronie-crond/cronie"
|
||||
arch="all"
|
||||
license="ISC"
|
||||
makedepends="autoconf automake musl-obstack-dev"
|
||||
install="$pkgname-openrc.post-install"
|
||||
makedepends="musl-obstack-dev"
|
||||
options="suid !check" # No testsuite
|
||||
subpackages="$pkgname-doc $pkgname-openrc"
|
||||
source="
|
||||
@ -51,6 +52,6 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
610fb21077fde08f2cf302e26c9b71aa711b8f4ac1e8a4e9f9f70d616d916965673e836f48b79c4b75de4a93ab893f62887263dce214d6e064fc41fcf0f4093d cronie-1.6.1.tar.gz
|
||||
309ac59de5212e814e8f68f0619e91a1459092392dd38d85c72740c635a6e50f232cfcdb883eccff203c7254bc94f60fe203150137a0862c3802ace58d5fcc22 cronie.initd
|
||||
ea0795420bc2a9c770c2950c066dc19655056c9e4e6d7277d5deade5144b988f2df806fe025a8fce67fe9bab73a25332f141395c222f2d2a62a41a874ce98dc8 cronie.initd
|
||||
caabbeb35c8bfed5f139063416cb6667ab066918e8ef57b057bf4d7bbb005ad6cc5d34687e52ed22f8152e61f4c35709e895652497600a7194cdfb04d48ca152 cronie.confd
|
||||
"
|
||||
|
17
community/cronie/cronie-openrc.post-install
Normal file
17
community/cronie/cronie-openrc.post-install
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
|
||||
if rc-status -a | grep -q crond; then
|
||||
cat >&2 <<-EOF
|
||||
*
|
||||
* you have installed the cronie openrc service,
|
||||
* but the "crond" service is detected as running/enabled.
|
||||
* if you wish to use cronie, ensure that you remove the "crond"
|
||||
* service:
|
||||
* rc-update del crond
|
||||
* and enable the "cronie" service:
|
||||
* rc-update add cronie
|
||||
* keeping cronie installed while using the "crond" service
|
||||
* will instead start cronie with potentially different arguments
|
||||
* than expected.
|
||||
EOF
|
||||
fi
|
@ -1,8 +1,10 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
name="$SVCNAME"
|
||||
name="$RC_SVCNAME"
|
||||
command="/usr/sbin/crond"
|
||||
command_args="$CRON_OPTS"
|
||||
command_args="$CRON_OPTS -n"
|
||||
command_background=true
|
||||
pidfile="/run/$RC_SVCNAME.pid"
|
||||
|
||||
depend() {
|
||||
provide cron
|
||||
|
Loading…
Reference in New Issue
Block a user