diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2009-03-31 12:20:45 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2009-03-31 12:20:45 +0000 |
commit | 27f3c0bb688eca64d6b443102a4d95d0f37a1d71 (patch) | |
tree | e4a5c7b3b12cb2d512512b39b4bcae10245e3755 /extra/clamsmtp | |
parent | 0ef12d48dbd4e2f1a03cd6c7f0f1504587f71807 (diff) | |
download | aports-27f3c0bb688eca64d6b443102a4d95d0f37a1d71.tar.bz2 aports-27f3c0bb688eca64d6b443102a4d95d0f37a1d71.tar.xz |
extra/clamsmtp: removed pidfile for -exec option in initd
Diffstat (limited to 'extra/clamsmtp')
-rw-r--r-- | extra/clamsmtp/APKBUILD | 6 | ||||
-rw-r--r-- | extra/clamsmtp/clamsmtp.confd | 2 | ||||
-rw-r--r-- | extra/clamsmtp/clamsmtp.initd | 7 |
3 files changed, 6 insertions, 9 deletions
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 <clandmeter at gmail> 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 $? } |