From 7be32ced535bc76310a46a87c5b4234d4e7c2357 Mon Sep 17 00:00:00 2001 From: Daniele Coli Date: Tue, 23 Feb 2016 17:00:04 +0100 Subject: main/fetchmail: Updated init.d script Moved cfgfile and options at the start of the command, otherwise interpreter the -i option as server name. --- main/fetchmail/fetchmail.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/fetchmail/fetchmail.initd') diff --git a/main/fetchmail/fetchmail.initd b/main/fetchmail/fetchmail.initd index ad826ec850..cee4f69f86 100755 --- a/main/fetchmail/fetchmail.initd +++ b/main/fetchmail/fetchmail.initd @@ -24,8 +24,8 @@ start() { ebegin "Starting fetchmail" start-stop-daemon --start --quiet \ --user fetchmail --exec /usr/bin/fetchmail \ - --pidfile ${pidfile} -i /var/lib/fetchmail/.fetchids \ - -- -f "${CFGFILE}" ${FETCHMAIL_OPTS} + -- -f "${CFGFILE}" ${FETCHMAIL_OPTS} \ + --pidfile ${pidfile} -i /var/lib/fetchmail/.fetchids eend ${?} } -- cgit v1.2.3