aboutsummaryrefslogtreecommitdiffstats
path: root/testing/dbmail/dbmail-lmtpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/dbmail/dbmail-lmtpd.initd')
-rw-r--r--testing/dbmail/dbmail-lmtpd.initd8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/dbmail/dbmail-lmtpd.initd b/testing/dbmail/dbmail-lmtpd.initd
index cea3da6dd8..38c0f552b2 100644
--- a/testing/dbmail/dbmail-lmtpd.initd
+++ b/testing/dbmail/dbmail-lmtpd.initd
@@ -1,7 +1,7 @@
#!/sbin/runscript
#
-PIDFILE="/var/run/dbmail-lmtpd.pid"
+PIDFILE="/var/run/dbmail/lmtpd.pid"
depend() {
need net
@@ -11,9 +11,9 @@ depend() {
}
checkconfig() {
- if [ ! -e "/etc/dbmail/dbmail.conf" ]; then
+ if [ ! -e "/etc/dbmail.conf" ]; then
eerror "You need to create apropriate config"
- eerror "in /etc/dbmail/ . Example can be found in /etc/dbmail/dbmail.conf.dist"
+ eerror "/etc/dbmail.conf"
return 1
fi
# Avoid using root's TMPDIR
@@ -27,7 +27,7 @@ start() {
start-stop-daemon --start --quiet \
--exec /usr/sbin/dbmail-lmtpd \
--name dbmail-lmtpd \
- -- -p ${PIDFILE} -f /etc/dbmail/dbmail.conf 2>&1
+ -- -p ${PIDFILE} -f /etc/dbmail.conf 2>&1
eend $?
}