Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1147 - "/etc/init.d/exim stop" doesn't use the right pid-file
Summary: "/etc/init.d/exim stop" doesn't use the right pid-file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Ben Lutgens (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-14 10:09 UTC by Christian Loitsch
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Loitsch 2002-03-14 10:09:31 UTC
if EXIM_OPTS is e.g. set to -bd only.

Easy fix:
change stop to
stop() {
        ebegin "Stopping exim"
        start-stop-daemon --stop --quiet --pidfile /var/run/exim.pid*
        eend $?
}
Comment 1 Ben Lutgens (RETIRED) gentoo-dev 2002-05-26 14:30:39 UTC
This appears to have done it.
stop() {
   ebegin "Stopping exim"
      start-stop-daemon --stop --quiet --exec /usr/sbin/exim
   eend $?
}
Comment 2 Ben Lutgens (RETIRED) gentoo-dev 2002-05-26 14:38:29 UTC
stop() {
   ebegin "Stopping exim"
      start-stop-daemon --stop --quiet --exec /usr/sbin/exim
   eend $?
}

This should fix it, at least with exim-4. If anyone tests this with exim-3 let
me know so I can close this.
Comment 3 Ben Lutgens (RETIRED) gentoo-dev 2002-05-26 22:37:48 UTC
Fixed. The new initscript works great.