aboutsummaryrefslogtreecommitdiffstats
path: root/extra/clamsmtp/clamsmtp.initd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2009-03-31 12:20:45 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2009-03-31 12:20:45 +0000
commit27f3c0bb688eca64d6b443102a4d95d0f37a1d71 (patch)
treee4a5c7b3b12cb2d512512b39b4bcae10245e3755 /extra/clamsmtp/clamsmtp.initd
parent0ef12d48dbd4e2f1a03cd6c7f0f1504587f71807 (diff)
downloadaports-27f3c0bb688eca64d6b443102a4d95d0f37a1d71.tar.gz
aports-27f3c0bb688eca64d6b443102a4d95d0f37a1d71.tar.bz2
aports-27f3c0bb688eca64d6b443102a4d95d0f37a1d71.tar.xz
extra/clamsmtp: removed pidfile for -exec option in initd
Diffstat (limited to 'extra/clamsmtp/clamsmtp.initd')
-rw-r--r--extra/clamsmtp/clamsmtp.initd7
1 files changed, 2 insertions, 5 deletions
diff --git a/extra/clamsmtp/clamsmtp.initd b/extra/clamsmtp/clamsmtp.initd
index 4ccfe6c0c8..dbd817f370 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 $?
}