login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
openbsd-misc
»
2007
»
September
»
19
Re: Shutdown script (derived from "Simple startup daemon's on boot question?")
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [author]
[view in full thread]
From:
Tomas <s.tomas@...>
To: Craig Skinner <craig.skinner@...>
Cc: OpenBSD misc list <misc@...>
Subject:
Re: Shutdown script (derived from "Simple startup daemon's on boot question?")
Date: Wednesday, September 19, 2007 - 9:58 am
Thanks, I will start using rc.shutdown more often :) Craig Skinner wrote:
quoted text
> Tomas wrote: >> Hi list, >> >> Watching the thread about startup script I thought of a question >> about shutdown script. Is it necessary to shutdown certain services >> when machine goes down? Like for example mysql, dovecot, clamav, >> amavis or openvpn. I've never saw anybody do that. Lots of people on >> their manuals, tutorials or posts writes how to start mysql, but none >> of then writes a shutdown script. So maybe it is not so necessary? >> (But then again, mysql is a database engine, and databases should be >> handle with care). >> > > $ 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:
Shutdown script (derived from "Simple startup daemon's on bo...
, Tomas
, (Wed Sep 19, 7:48 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Henning Brauer
, (Wed Sep 19, 9:33 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Lars Noodén
, (Wed Sep 19, 10:43 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Lars Hansson
, (Wed Sep 19, 11:03 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Lars Noodén
, (Wed Sep 19, 11:37 am)
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...
, Tomas
, (Wed Sep 19, 9:58 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Julian Leyh
, (Wed Sep 19, 8:31 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Tomas
, (Wed Sep 19, 9:41 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Lars Hansson
, (Wed Sep 19, 8:17 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Tomas
, (Wed Sep 19, 9:25 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Mike Erdely
, (Wed Sep 19, 10:10 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Craig Skinner
, (Wed Sep 19, 9:51 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...
, Tomas
, (Wed Sep 19, 9:39 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Stuart Henderson
, (Wed Sep 19, 8:21 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Siju George
, (Thu Sep 20, 9:59 pm)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Matthieu Herrb
, (Fri Sep 21, 2:47 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Tomas
, (Wed Sep 19, 9:28 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...
, Tony Abernethy
, (Wed Sep 19, 11:52 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Lars Noodén
, (Wed Sep 19, 8:16 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Tomas
, (Wed Sep 19, 9:23 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Przemyslaw Nowaczyk
, (Wed Sep 19, 8:36 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Hannah Schroeter
, (Wed Sep 19, 8:03 am)
Re: Shutdown script (derived from "Simple startup daemon's o...
, Tomas
, (Wed Sep 19, 9:15 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
open-graphics
open-graphics-announce-kt
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Vu Pham
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Quentin Godfroy
possible (ext4 related?) memory leak in kernel 2.6.26
Kentaro Takeda
[TOMOYO #9 (2.6.27-rc7-mm1) 1/6] LSM adapter functions.
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
git
:
Nguyễn Thái Ngọc
[PATCH] git-grep: add --color to highlight matches
Michael Donaghy
Git Screencast ?
Sam Song
Re: Fwd: [OT] Re: Git via a proxy server?
Seth Falcon
git-svn, remote tracking branch question
openbsd-misc
:
GVG GVG
ssh_exchange_identification: Connection closed by remote host
Richard Stallman
Real men don't attack straw men
askthelist
Packets Per Second Limit?
Sean Darby
Instant Messenger (CLI-based multi-protocol)
linux-netdev
:
Volker Armin Hemmann
build error with 2.6.27.6+reiser4+ehci-hub patch. ERROR: "mii_ethtool_gset" [drive...
David Madore
atl1e Ethernet driver not seeing packets sent to 33:33:00:00:00:01 multicast
Jeff Garzik
Family matter
David Stevens
Re: [GIT PULL] [IPV6] COMPAT: Fix SSM applications on 64bit kernels.
Latest forum posts
Netfilter kernel module
7 hours ago
Linux kernel
serial driver xmit problem
9 hours ago
Linux kernel
Why Windows is better than Linux
9 hours ago
Linux general
How can I see my kernel messages in vt12?
16 hours ago
Linux kernel
Grub
1 day ago
Linux general
vmalloc_fault handling in x86_64
1 day ago
Linux kernel
epoll_wait()ing on epoll FD
1 day ago
Linux kernel
Framebuffer in x86_64 causes problems to multiseat
1 day ago
Linux kernel
Difference between 2.4 and 2.6 regarding thread creation
1 day ago
Linux general
Compiling gfs2 on kernel 2.6.27
2 days ago
Linux kernel
Show all forums...
Recent Tags
more tags
Colocation donated by:
Who's online
There are currently
3 users
and
844 guests
online.
Online users
theuni
Jeremy
Kedar Sovani
Syndicate
speck-geostationary