From 27f3c0bb688eca64d6b443102a4d95d0f37a1d71 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Tue, 31 Mar 2009 12:20:45 +0000 Subject: extra/clamsmtp: removed pidfile for -exec option in initd --- extra/clamsmtp/APKBUILD | 6 +++--- extra/clamsmtp/clamsmtp.confd | 2 +- extra/clamsmtp/clamsmtp.initd | 7 ++----- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'extra/clamsmtp') diff --git a/extra/clamsmtp/APKBUILD b/extra/clamsmtp/APKBUILD index aabb9f18..2620e611 100644 --- a/extra/clamsmtp/APKBUILD +++ b/extra/clamsmtp/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Carlo Landmeter pkgname=clamsmtp pkgver=1.10 -pkgrel=0 +pkgrel=1 pkgdesc="An SMTP Virus Filter" url="http://memberwebs.com/stef/software/clamsmtp/" license="as-is" @@ -30,5 +30,5 @@ build() { } md5sums="b068ba6e444859782bbdd88f290c1abf clamsmtp-1.10.tar.gz -931e54718c735bca4f3347c903cff0ed clamsmtp.confd -9db0f44bda7e56d53486223a2a927b0e clamsmtp.initd" +e84205681f64c07af9ec5b6a3dd8bc38 clamsmtp.confd +601d13d29f4426735be9a0599bb94a77 clamsmtp.initd" diff --git a/extra/clamsmtp/clamsmtp.confd b/extra/clamsmtp/clamsmtp.confd index a2c9cf52..8d08b686 100644 --- a/extra/clamsmtp/clamsmtp.confd +++ b/extra/clamsmtp/clamsmtp.confd @@ -2,4 +2,4 @@ # Specify daemon $OPTS here. # -OPTS="-p /var/run/clamsmtpd.pid" +OPTS="" diff --git a/extra/clamsmtp/clamsmtp.initd b/extra/clamsmtp/clamsmtp.initd index 4ccfe6c0..dbd817f3 100644 --- a/extra/clamsmtp/clamsmtp.initd +++ b/extra/clamsmtp/clamsmtp.initd @@ -1,12 +1,10 @@ #!/sbin/runscript -# Sample init.d file for alpine linux. - NAME=clamsmtpd DAEMON=/usr/sbin/$NAME depend() { - need net clamd + need net } start() { @@ -19,7 +17,6 @@ start() { stop() { ebegin "Stopping ${NAME}" start-stop-daemon --stop --quiet \ - --exec ${DAEMON} \ - --pidfile /var/run/${NAME}.pid + --exec ${DAEMON} eend $? } -- cgit v1.2.3