diff options
author | Daniele Coli <danielsan.dani@gmail.com> | 2016-02-23 17:00:04 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-02-24 10:48:26 +0000 |
commit | 7be32ced535bc76310a46a87c5b4234d4e7c2357 (patch) | |
tree | 015c0cf2d318318cc042e90026174cda9aa0e208 /main/fetchmail/fetchmail.initd | |
parent | d8aeffba52075c54f91b191627a4deb2e9bdea0f (diff) | |
download | aports-7be32ced535bc76310a46a87c5b4234d4e7c2357.tar.bz2 aports-7be32ced535bc76310a46a87c5b4234d4e7c2357.tar.xz |
main/fetchmail: Updated init.d script
Moved cfgfile and options at the start of the command,
otherwise interpreter the -i option as server name.
Diffstat (limited to 'main/fetchmail/fetchmail.initd')
-rwxr-xr-x | main/fetchmail/fetchmail.initd | 4 |
1 files changed, 2 insertions, 2 deletions
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 ${?} } |