summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Collapse)Author
2014-04-24rm rwhod tentaclesTed Unangst
2014-04-23Remove krb5 bits from rc(8).Antoine Jacoutot
ok reyk@
2014-03-24Add /var/unbound/dev/log, it isn't needed for initial startup because UnboundStuart Henderson
opens the log before chrooting, but this handles the case where syslogd is restarted during Unbound's runtime.
2014-03-15httpd_flags was still used here; remove it.Stuart Henderson
Add a log socket in /var/www/dev/log if nginx is enabled, it is needed as the openlog() call is done after chrooting. ok brad@ florian@ deraadt@
2014-03-15Add a new sample config file and rc.d script for unbound, ok deraadt@Stuart Henderson
2014-03-13Unhook httpd(8) from build; etc bitsFlorian Obser
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@
2014-01-10Remove unnecessary rc_post from rc.d/nsd.Stuart Henderson
It was there to try and ensure that failure was reported if nsd stopped shortly after startup (as it used to do if the address was in use, etc), but this is no longer the case with nsd 4 which returns a failure at startup in these cases, and having it there breaks properly printing "(ok)" when stopping.
2013-12-17Run spamd-setup from within /etc/rc.d/spamd, and take $spamd_blackAlexander Hall
into consideration. Diff from Maurice Janssen, thanks! ok rpe@ giovanni@
2013-12-15remove popa3d etc tendrilsTed Unangst
2013-12-11Use a correct pexp and unbreak stop/reload. The old and wrong pexpJeremie Courreges-Anglas
in /var/run/rc.d/identd has to be manually removed. Reported by Adam Jeanguenat (avj at voyager dot 6v6 dot org). ok dcoppa@ lteo@
2013-11-26update for NSD 4.0.0; generate keys for nsd-control if non-existent, andStuart Henderson
use nsd-control to signal NSD.
2013-09-13reload not supported; from Craig R. Skinner.Okan Demirmen
ok dcoppa ajacoutot
2013-09-01Properly pass daemon_flags to amd(8).Antoine Jacoutot
ok dcoppa@ sthen@
2013-08-09Add rc.d(8) scripts for ipropd-master and ipropd-slave.Antoine Jacoutot
ok deraadt@
2013-08-08Re-add `-e' to default daemon_flags like the previous identd did.Antoine Jacoutot
ok dlg@
2013-08-07disable libexec/identd and enable usr.sbin/identd.David Gwynne
ok sthen@ deraadt@
2013-07-11no double negatives in error message; ok aja@Otto Moerbeek
2013-06-17Use "--detach" instead of putting into the backgroun with rc_bg.Antoine Jacoutot
ok robert@
2013-06-04fix pexpStuart Henderson
2013-06-01hook up slowcgi to the tree, including /etc glue and a sample configurationChristian Weisgerber
snippet; ok florian@
2013-04-04Show only available actions in RC script usage messages.Vadim Zhukov
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@
2013-03-24Match documented rc.conf(5) flags.Antoine Jacoutot
ok deraadt@
2013-02-05Make sure new config is valid before SIGHUP'ing sshd, which wouldAlexander Hall
otherwise just kill it. ok ajacoutot@ djm@ pirofti@, quite some time ago
2013-01-26Do not allow stopping/restarting mountd using the rc.d(8) framework;Antoine Jacoutot
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@
2012-11-21rc_restart() does not exists. What the 'restart' action does is to runAntoine Jacoutot
'stop' then 'start'; so to prevent this daemon from restarting itself, rc_stop=NO is enough. ok robert@
2012-11-19Remove useless test: rc_rm_runfile() uses rm -f which always returns 0Antoine Jacoutot
so we don't care if the file is present or not; also this function should never return a failure. ok halex@
2012-11-18Don't output "$action is not supported" when running an rc.d(8) scriptAntoine Jacoutot
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@
2012-11-12Don't check if ${local_rcconf} is defined before sourcing rc.conf but doAntoine Jacoutot
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@
2012-11-04Script for ldomd(8).Mark Kettenis
ok dcoppa@, deraadt@
2012-10-26sort to be consistent with the other rc scripts: rc_** actions come afterAntoine Jacoutot
the pexp.
2012-10-26disable reload since SIGHUP kills smtpdAlexander Hall
ok chl@ gilles@
2012-09-20Enable npppd and npppctl in default build. Add npppd to rc andYASUOKA Masahiko
install sample configs to /etc/. ok claudio deraadt henning mcbride
2012-09-13Simplify the way we call the rc.d(8) script in "restart".Antoine Jacoutot
ok sthen@
2012-09-01Make '-f' only affects the "start" action.Antoine Jacoutot
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@
2012-08-21Use the new "-q" option of pgrep(1) instead of redirecting stdoutAntoine Jacoutot
to /dev/null.
2012-08-20wire up the bits for tftp-proxy, which is called tftpproxy from rc.d'sDavid Gwynne
point of view. mostly ok sthen@ ajacoutot@, who were discussing the feng shui of the start_daemons chunk
2012-08-14Optimize checks for /etc/exports.Antoine Jacoutot
from robert at peichaer dot org discussed with and ok halex@
2012-08-13unset _rcflags and _rcuser so that they don't get inherited by rc.d(8)Antoine Jacoutot
scripts; from robert at peichaer dot org ok halex@ While here, put the "sanitation" commands in their own block.
2012-08-13Set the daemon_class as readonly as it should be (and is documented asAntoine Jacoutot
such). from robert at peichaer dot org modified after a discussion with halex@ ok halex@ robert@
2012-08-11Make a couple of variables local.Antoine Jacoutot
from robert at peichaer dot org ok halex@
2012-08-04Add a new rc_usercheck variable (default to YES). When set to no, rootAntoine Jacoutot
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@
2012-08-04Set rc_usercheck to NO.Antoine Jacoutot
2012-07-10fix pexpAlexander Hall
ok robert@
2012-07-10fix regexp in pexpAlexander Hall
ok robert@
2012-07-07Simplify rc_wait() (no functionnal change).Antoine Jacoutot
initially from robert at peichaer dot org with some enhancement by halex@ ok halex@
2012-07-07Restore default tftpd(8) argument to use "/tftpboot" so that is worksAntoine Jacoutot
out of the box. ok deraadt@ pirofti@
2012-05-30in -d mode, display an error message before exiting, in the case theMarc Espie
daemon is not active (happens often to me, as I forget which box has which daemons). okay ajacoutot@
2012-04-01btd went awayTheo de Raadt
2012-03-05add rc.d bits for the new standalone tftpd daemon.David Gwynne
mostly from Kent R. Spillner ok sthen@ robert@
2012-02-19enable nginxRobert Nagy