summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Expand)Author
2022-08-29When using logger(1), also log the message to standard error so we don'tAntoine Jacoutot
2022-08-29Use rc_configtest.Antoine Jacoutot
2022-08-29Introduce the rc_configtest() function.Antoine Jacoutot
2022-07-17/var/run/ypbind.lock doesn't need to be forcefully removedTheo de Raadt
2022-06-28Hook up bgplgd. Uses _bgplgd user with id 71:71 add a rc.d script andClaudio Jeker
2022-05-26Introduce a new daemon_execdir variable for changing to a specified directoryAntoine Jacoutot
2022-05-21${rcexec} -> rc_execAntoine Jacoutot
2022-05-21Replace the $rcexec variable by an rc_exec function.Antoine Jacoutot
2022-05-21No need for true(1).Antoine Jacoutot
2022-05-17Simplify unbound rc.d script.Antoine Jacoutot
2022-04-21Fix previous rc.d/spamlogd commit, the check in rc_pre is not neededStuart Henderson
2022-04-11Fix spamlogd's rc_pre to avoid creating pflog0 if spamd is disabled.Stuart Henderson
2022-02-10look for the login class in both login.conf and login.conf.d/${class}Robert Nagy
2021-11-15Tidy up; no change.Antoine Jacoutot
2021-11-14Improve and simplify timer handling in "stop" and "reload".Antoine Jacoutot
2021-11-12Consistency in test; no behavior change.Antoine Jacoutot
2021-11-12Set SECONDS to 0 in _rc_wait.Antoine Jacoutot
2021-11-12Simplify _rc_exit.Antoine Jacoutot
2021-11-11Run "_rc_wait stop" _before_ stopping the daemon and not after...Antoine Jacoutot
2021-11-11Return 0 in case we reach KILL; this allows "restart" to work as expectedAntoine Jacoutot
2021-11-11switch(4) and switchd(8) are retiering. Unhook them from variousClaudio Jeker
2021-11-09check that the rc script including rc.subr is using ksh; rc.subr uses kshStuart Henderson
2021-11-08rc_reload_signal & rc_stop_signal are not rc.conf(8) variables; they'reAntoine Jacoutot
2021-11-07Speed up _rc_wait: only sleep 1/2 second between rc_check tries and make sureAntoine Jacoutot
2021-11-07Use built-in SECONDS instead of hand roller timer.Antoine Jacoutot
2021-11-06Always run _rc_rm_runfile when process is sent a SIGKILL or rc_post fails (atAntoine Jacoutot
2021-11-06Drop uneeded sleep.Antoine Jacoutot
2021-11-06Allow passing a different signal than SIGTERM in the default rc_stop()Antoine Jacoutot
2021-10-31Shuffle things around to have FUNCS_ONLY higher in the script so consummersAntoine Jacoutot
2021-02-27Add logger(1) support for daemons that are logging to stdout/stderr (mostly fromAntoine Jacoutot
2021-02-26Ship resolvd service, enable it by defaultkn
2021-02-26rc(8) bits for dhcpleased(8).Florian Obser
2020-07-12Use su -fl to avoid sourcing /etc/profile / the target user's .profileJeremie Courreges-Anglas
2020-04-29Sort variables and fix a comment.Antoine Jacoutot
2020-02-22Do not run _rc_parse_conf of /var/run/rc.d/foobar on "start".Antoine Jacoutot
2020-01-25sync rc.d/sshd with sshd proctitle change - listener has been modified toStuart Henderson
2020-01-24retire rebound etc bits to the atticTed Unangst
2020-01-22update pexp in rc.d/sshd to match the new setproctitle ('sshd: [listener]Stuart Henderson
2019-11-22sndiod(8) reopens audio interfaces on SIGHUP, which makes a lot of senseClaudio Jeker
2019-09-07Remove dependency on basename(1).Antoine Jacoutot
2019-05-12Stop generating keys for nsd-control(8). These are unused since nsd wasTim van der Molen
2019-03-21Start in the daemon configured routing table and not in the one we're currentlyAntoine Jacoutot
2019-02-07No need to run unbound-anchor anymore. Unwind(8) handles the bootstrapFlorian Obser
2019-01-26rc(8) bits for unwind(8); OK deraadtFlorian Obser
2019-01-21Use ${rcexec} in rc_pre to do the config testing. This allows to specifyClaudio Jeker
2019-01-20The shell will strip the quotes from daemon_flags when starting a daemon so makeAntoine Jacoutot
2018-10-29Revert previous (for now).Antoine Jacoutot
2018-10-16Change the way we call su(1) in rcexec:Antoine Jacoutot
2018-09-27Add vmctl stop -a [-fw] option to stop or terminate all running VMs.Reyk Floeter
2018-07-23Remove rtadvd(8) rc script.Florian Obser