Age | Commit message (Collapse) | Author |
|
|
|
snippet; ok florian@
|
|
Also, prettify representation of actions list a bit.
a lot of input and ok halex@ aja@
also ok schwarze@
small nit spotted by marc@
"makes a lot of sense to me" todd@
|
|
ok deraadt@
|
|
otherwise just kill it.
ok ajacoutot@ djm@ pirofti@, quite some time ago
|
|
if there is need to send a SIGTERM to mountd(8), it should be done
manually as there is too much involved with RPC daemons to make it
automagic.
ok beck@
|
|
'stop' then 'start'; so to prevent this daemon from restarting itself,
rc_stop=NO is enough.
ok robert@
|
|
so we don't care if the file is present or not; also this function
should never return a failure.
ok halex@
|
|
from /etc/rc(8). This prevents the warning to be displayed at shutdown
time when the script has rc_stop=NO.
req. and input from fgsch@
"go ahead" schwarze@
input from an ok halex@, ok robert@
|
|
it unconditionally.
The only place local_rcconf could have been defined is from /etc/rc
sourcing rc.conf but then the variable is not exported so it will never
be seen by rc.subr.
ok robert@
|
|
ok dcoppa@, deraadt@
|
|
the pexp.
|
|
ok chl@ gilles@
|
|
install sample configs to /etc/.
ok claudio deraadt henning mcbride
|
|
ok sthen@
|
|
There is no reason we couldn't reload|stop a daemon even when _flags is
set to NO.
As a bonus side effect, we can now see usage() on disabled scripts.
discussed with sthen@ and espie@
ok sthen@
|
|
to /dev/null.
|
|
point of view.
mostly ok sthen@ ajacoutot@, who were discussing the feng shui of the
start_daemons chunk
|
|
from robert at peichaer dot org
discussed with and ok halex@
|
|
scripts; from robert at peichaer dot org
ok halex@
While here, put the "sanitation" commands in their own block.
|
|
such).
from robert at peichaer dot org
modified after a discussion with halex@
ok halex@ robert@
|
|
from robert at peichaer dot org
ok halex@
|
|
privilege is needed to run rc_check.
In effect this means /etc/rc.d/foobar check can now be run as a regular
user.
Discussed with robert@ during g2k12.
ok todd@
|
|
|
|
ok robert@
|
|
ok robert@
|
|
initially from robert at peichaer dot org with some enhancement by halex@
ok halex@
|
|
out of the box.
ok deraadt@ pirofti@
|
|
daemon is not active (happens often to me, as I forget which box has
which daemons).
okay ajacoutot@
|
|
|
|
mostly from Kent R. Spillner
ok sthen@ robert@
|
|
|
|
From danh@, ok aja@ giovanni@
|
|
ok ajacoutot sthen
|
|
ok ratchov@
|
|
ok sthen@
|
|
configuration without service disruption which is not what -HUP does for
nsd(8).
Anyway, zone operations (...) should be done using nsdc(8) and not with
an rc script.
discussed with and ok sthen@
|
|
from ajacoutot@.
ok deraadt ajacoutot
|
|
regular user, member of the operator group); rm(1) was waiting for
interactive input to remove the runfiles which made no sense, so just
use `-f'.
issue spotted by weerd@
ok weerd@ robert@
|
|
just leave them untouched
ok ajacoutot@ sthen@ schwarze@
|
|
server _must_ be running and accessible before ypldap is started).
Add a proper pexp in the ypldap rc script.
discussed with pyr@ robert@ deraadt@
ok deraadt@
|
|
might pick it up from a polluted environment.
Requested by halex@, ok ajacoutot@ halex@
|
|
reading it failed, ${pexp} ended up as the empty string and the script
would send SIGTERM to init(1), which was really inconvenient.
Fix that by never allowing pexp to become empty.
My patch considerably simplified by and ok ajacoutot@.
|
|
its _flags in rc.conf(8).
When the rc.d(8) system starts a daemon, it will record its pexp under
/var/run/rc.d/rcscriptname and use that to interact with it (errors in
creating /var/run/rc.d or missing pexp file are non fatal, the framework
will just fallback to what it currently does).
deraadt@ doesn't mind a long as it doesn't come in the way of people
manually managing their daemons.
discussed with and input from sthen@ halex@ robert@ schwarze@
ok sthen@ robert@
|
|
ok robert@
|
|
mistake in the previous commit.
No functionnal change.
ok robert@
|
|
/var/yp/binding does not exist, do _not_ try to start ypbind.
Make it possible to start ypbind the same way as the other daemons
(using ypbind_flags) while preserving the historical startup behavior.
tested by deraadt@
|
|
ok robert@
|
|
dance on restart rather than exporting them and expose the script to a
potentially polluted environment
ok ajacoutot@ robert@
|
|
RC_FORCE since "restart" calls "stop" then "start").
While here, append "_" to these variable names to make it clear they are
internal.
ok robert@
|