Commit 27f3c0bb authored by Carlo Landmeter's avatar Carlo Landmeter

extra/clamsmtp: removed pidfile for -exec option in initd

parent 0ef12d48
......@@ -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"
......@@ -2,4 +2,4 @@
# Specify daemon $OPTS here.
#
OPTS="-p /var/run/clamsmtpd.pid"
OPTS=""
#!/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 $?
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment