--------------------------------------------------------------------- #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # by Joseph B (Joby) Walker -- [EMAIL PROTECTED]
depend() {
need
}
start() {
ebegin "Starting dbmail-impad"
start-stop-daemon --start --quiet --exec /usr/local/sbin/dbmail-imapd
eend $?
}
stop() {
ebegin "Stopping dbmail-imapd"
until ! `grep dbmail-imapd /proc/*/stat 1>/dev/null 2>&1`
do
start-stop-daemon --stop --quiet --name dbmail-imapd
done
eend $?
}
---------------------------------------------------------------------
jbw
Paul Stevens wrote:
If you find some way to save the pidfile on startup, please let me knowso I can fix the debian startup scripts. killall is basically what I currently use in the debian packages. Ugly as hell.Jacques Beaudoin wrote:When i want to stop dbmail-imapd or dbmail-pop3d i do a "killall dbmail-imapd" or "killall dbmail-pop3d". Is there another way to stop dbmail-imap or dbmail-pop3. I want to be able to stop dbmail-imapd and dbmail-pop3d via a /etc/rc.d/init.d scrip in redhat 8.0 Thanks Jacques _______________________________________________ Dbmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
smime.p7s
Description: S/MIME Cryptographic Signature
