Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 124387 | Differences between
and this patch

Collapse All | Expand All

(-)/etc/init.d/fetchmail~ (-1 / +4 lines)
Lines 16-29 Link Here
16
        checkconfig || return 1
16
        checkconfig || return 1
17
17
18
        ebegin "Starting fetchmail"
18
        ebegin "Starting fetchmail"
19
        export FETCHMAILHOME=/var/lib/fetchmail
19
        start-stop-daemon --start --quiet --exec /usr/bin/fetchmail \
20
        start-stop-daemon --start --quiet --exec /usr/bin/fetchmail \
21
                --chuid fetchmail \		
20
                -- -d ${polling_period} -f /etc/fetchmailrc
22
                -- -d ${polling_period} -f /etc/fetchmailrc
21
        eend ${?}
23
        eend ${?}
22
}
24
}
23
25
24
stop() {
26
stop() {
25
        ebegin "Stopping fetchmail"
27
        ebegin "Stopping fetchmail"
26
        start-stop-daemon --stop --quiet --pidfile /var/run/fetchmail.pid
28
        start-stop-daemon --stop --quiet \
29
          --pidfile /var/lib/fetchmail/fetchmail.pid
27
        eend ${?}
30
        eend ${?}
28
}
31
}
29
32

Return to bug 124387