aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Wagner <stw@bit-strickerei.de>2016-11-19 01:17:12 +0100
committerJakub Jirutka <jakub@jirutka.cz>2016-11-19 12:23:25 +0100
commitb101426cab3555ae188c9f79f9aa92e8969195d3 (patch)
tree4b84eb0b3e01130b13ea807902e0c261e7aab640
parentfcc2deb0e7a95c17f0e1d66809d6970ab9309d0e (diff)
downloadaports-b101426cab3555ae188c9f79f9aa92e8969195d3.tar.bz2
aports-b101426cab3555ae188c9f79f9aa92e8969195d3.tar.xz
testing/opendkim: fix init script
OpenDKIM always gets listed as "crashed" in openrc. Running it in foreground fixes the problem.
-rw-r--r--testing/opendkim/APKBUILD8
-rw-r--r--testing/opendkim/opendkim.initd5
2 files changed, 7 insertions, 6 deletions
diff --git a/testing/opendkim/APKBUILD b/testing/opendkim/APKBUILD
index b2e8279069..d2a6815d68 100644
--- a/testing/opendkim/APKBUILD
+++ b/testing/opendkim/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=opendkim
pkgver=2.10.3
-pkgrel=3
+pkgrel=4
pkgdesc="DKIM signing and verifying filter for MTAs"
url="http://www.opendkim.org"
arch="all"
@@ -45,10 +45,10 @@ package() {
md5sums="916e691cdd16cfabd1cd6efe745323f9 opendkim-2.10.3.tar.gz
a4fadd2a9de27bfbc83173db4db9a7f5 opendkim.conf
-8b79b9a10076989033d45604419ea71b opendkim.initd"
+72e7beb15c2dcc0fef5f06edb0f285f1 opendkim.initd"
sha256sums="43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b opendkim-2.10.3.tar.gz
b030ab34d324d75b353a1d3ee1483da497ad2be76dec0ddba6c25547d833dca0 opendkim.conf
-b67e8971ce3de5282c5aa4f9a0f7f365880b2d8efa58c09c77ebb38df794507e opendkim.initd"
+bfed96e5a9e8e68ee2c66feed9a37270967eaf62a554367658c517f3bec87b5c opendkim.initd"
sha512sums="97923e533d072c07ae4d16a46cbed95ee799aa50f19468d8bc6d1dc534025a8616c3b4b68b5842bc899b509349a2c9a67312d574a726b048c0ea46dd4fcc45d8 opendkim-2.10.3.tar.gz
8a9ae1d6879ee20493f1fdd69ca750ca6cca8cdecea37a4b87dd67cd843491ea9e1dc2f3a2636acd1d22e961f9f61763beb898e4c58b534e3a1c9c8b1d6a3b69 opendkim.conf
-6fea585a95b5da6908275654046ad4d1f3341687c5602dfbc9a8f784f1ce04f194b291a9addfa24b565c0916bd5cb70348fc224140f5616ac3dc1a67378b3e62 opendkim.initd"
+421888b3c41e97512139d30fdb55dcfa03c3c1596c67107c7e5d5a31edafff869b774d37d40f644ed967f507f15179202fc6351df4692904f25f5ad8a955652f opendkim.initd"
diff --git a/testing/opendkim/opendkim.initd b/testing/opendkim/opendkim.initd
index da51074d92..843798f5ad 100644
--- a/testing/opendkim/opendkim.initd
+++ b/testing/opendkim/opendkim.initd
@@ -3,7 +3,8 @@
pidfile=/run/opendkim/opendkim.pid
command=/usr/sbin/opendkim
-command_args="${EXTRA_OPTS}"
+command_args="-f ${EXTRA_OPTS}"
+command_background=yes
depend() {
need net
@@ -11,5 +12,5 @@ depend() {
}
start_pre() {
- checkpath -d -o opendkim:opendkim -m755 /run/opendkim
+ checkpath -d -o opendkim:opendkim -m755 /run/opendkim
}