Re: Shutdown script (derived from "Simple startup daemon's on boot question?")

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: OpenBSD misc list <misc@...>
Date: Wednesday, September 19, 2007 - 8:34 am

Tomas wrote:

$ man rc.shutdown

Up to you. I shut down almost all daemons in it. Again, you can call
your own scripts, e.g:

echo -n ' mailman'
/usr/local/lib/mailman/bin/mailmanctl -q stop
sleep 30

echo -n ' mailgraph'
/usr/local/site/sbin/mailgraphctl stop > /dev/null

echo -n ' squid'
/usr/local/sbin/squid -k shutdown

echo -n ' dovecot'
pkill dovecot

echo -n ' apache'
apachectl stop

echo -n ' postfix'
/usr/local/site/sbin/postfixctl stop

echo -n ' viagrad'
su -m _viagrad /usr/local/site/libexec/viagrad/viagrad stop

echo -n ' named'
rndc stop

echo '.'

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Shutdown script (derived from "Simple startup daemon's o..., Craig Skinner, (Wed Sep 19, 8:34 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Artur Litwinowicz, (Wed Sep 19, 8:24 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Stuart Henderson, (Wed Sep 19, 10:43 am)
Re: Shutdown script (derived from "Simple startup daemon's o..., Przemyslaw Nowaczyk, (Wed Sep 19, 8:36 am)