summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Expand)Author
2024-01-17Zap trailing space.Antoine Jacoutot
2023-12-15Run non-daemons services in a different process group to avoid SIGHUP at bootJeremie Courreges-Anglas
2022-11-30add configtest; OK martijnKlemens Nanni
2022-10-19Drop support for $rcexec; people should now use the rc_exec function.Antoine Jacoutot
2022-10-14add configtestKlemens Nanni
2022-10-14add configtestKlemens Nanni
2022-10-10Enable configtestKlemens Nanni
2022-09-08_rc_quirks is only called by _rc_parse_conf, so just merge the two.Antoine Jacoutot
2022-09-04Fix regression in previous commit.Antoine Jacoutot
2022-09-02Make rc_configtest behave like rc_pre and rc_post; i.e. don't define a defaultAntoine Jacoutot
2022-09-01Add a new action: "configtest", to check configuration syntax of the daemon.Antoine Jacoutot
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