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 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter at gmail> # Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=clamsmtp pkgname=clamsmtp
pkgver=1.10 pkgver=1.10
pkgrel=0 pkgrel=1
pkgdesc="An SMTP Virus Filter" pkgdesc="An SMTP Virus Filter"
url="http://memberwebs.com/stef/software/clamsmtp/" url="http://memberwebs.com/stef/software/clamsmtp/"
license="as-is" license="as-is"
...@@ -30,5 +30,5 @@ build() { ...@@ -30,5 +30,5 @@ build() {
} }
md5sums="b068ba6e444859782bbdd88f290c1abf clamsmtp-1.10.tar.gz md5sums="b068ba6e444859782bbdd88f290c1abf clamsmtp-1.10.tar.gz
931e54718c735bca4f3347c903cff0ed clamsmtp.confd e84205681f64c07af9ec5b6a3dd8bc38 clamsmtp.confd
9db0f44bda7e56d53486223a2a927b0e clamsmtp.initd" 601d13d29f4426735be9a0599bb94a77 clamsmtp.initd"
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
# Specify daemon $OPTS here. # Specify daemon $OPTS here.
# #
OPTS="-p /var/run/clamsmtpd.pid" OPTS=""
#!/sbin/runscript #!/sbin/runscript
# Sample init.d file for alpine linux.
NAME=clamsmtpd NAME=clamsmtpd
DAEMON=/usr/sbin/$NAME DAEMON=/usr/sbin/$NAME
depend() { depend() {
need net clamd need net
} }
start() { start() {
...@@ -19,7 +17,6 @@ start() { ...@@ -19,7 +17,6 @@ start() {
stop() { stop() {
ebegin "Stopping ${NAME}" ebegin "Stopping ${NAME}"
start-stop-daemon --stop --quiet \ start-stop-daemon --stop --quiet \
--exec ${DAEMON} \ --exec ${DAEMON}
--pidfile /var/run/${NAME}.pid
eend $? 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