summaryrefslogtreecommitdiff
path: root/etc/rc.d/rc.subr
AgeCommit message (Expand)Author
2020-02-22Do not run _rc_parse_conf of /var/run/rc.d/foobar on "start".Antoine Jacoutot
2019-09-07Remove dependency on basename(1).Antoine Jacoutot
2019-03-21Start in the daemon configured routing table and not in the one we're currentlyAntoine Jacoutot
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
2017-06-05Temporarily disable the second call to rc_check until I figure out whatAntoine Jacoutot
2017-06-05Fix logic in _rc_wait to properly cope with setproctitle(3) daemons. It was aAntoine Jacoutot
2017-05-30Introduce a scary rc.conf(8) knob library_aslr=(YES|NO) to turn off theTheo Buehler
2017-05-28Move check later to mitigate a possible race.Antoine Jacoutot
2017-05-28Indent and rename var; no functional change.Antoine Jacoutot
2017-05-28When a daemon reaches its timeout when starting, display "timeout" insteadAntoine Jacoutot
2017-05-28Drop useless lines continuation; no functional change.Antoine Jacoutot
2017-05-27Ok turns out we still want to keep the rc_bg variable around but we needAntoine Jacoutot
2017-05-27Add an ALRM timer to cope with 2 annoying issues in rc.d(8):Antoine Jacoutot
2017-02-17Stop supporting the historical way of starting ypbind(8); that is settingAntoine Jacoutot
2017-01-24Whitespace.Antoine Jacoutot
2016-09-07Introduce an _rc_check_name() function to check the input script name so thatAntoine Jacoutot
2016-08-31use tab.Antoine Jacoutot
2016-05-03signal name should be first, fixes reload; ok deraadt@Otto Moerbeek
2016-04-28Experiment on matching on the daemon_user is over. It needs more work.Antoine Jacoutot
2016-04-27Revert the revert and match on the daemon_user again.Antoine Jacoutot
2016-04-27Revert matching on the daemon user for now; it breaks sndiod handling whichAntoine Jacoutot
2016-04-26Bump copyright.Antoine Jacoutot
2016-04-26Introduce rtable(4) support to rc.subr(8).Antoine Jacoutot
2016-04-26Extend _RC_RUNFILE (/var/run/rc.d/scriptname) content with:Antoine Jacoutot
2016-03-26Make it possible to get usage as a non-root user.Antoine Jacoutot
2016-03-26Handle the rc_stop=NO => rc_restart=NO case within _rc_not_supported().Antoine Jacoutot
2015-12-21Revert, rc.d scripts have been fixed.Antoine Jacoutot
2015-12-21Comment the wait for start until I fix the x11 managers rc.d script.Antoine Jacoutot
2015-12-19After starting, unconditionally wait up to $daemon_timeout seconds to check thatAntoine Jacoutot
2015-12-19Tidy up _rc_wait().Antoine Jacoutot
2015-12-05It does not make sense to insert a specific route for 224/4 when theMartin Pieuchot
2015-10-16Missing local.Antoine Jacoutot
2015-07-15By default, require an exact match of the process name and argument list.Antoine Jacoutot
2015-07-15Always use the default flags when running !start.Antoine Jacoutot
2015-07-15Merge comments.Antoine Jacoutot
2015-06-17Really make daemon_class read-only; it's set to "daemon" of a matchingAntoine Jacoutot
2015-05-02No more pf_rules ipsec_rules.Antoine Jacoutot
2015-04-29Check arguments before eval so we don't end up with a cryptic error message.Antoine Jacoutot
2015-03-28_rc_err(): only display error message if there's an actual one.Antoine Jacoutot
2015-01-02Fix return code of _rc_quirks().Antoine Jacoutot
2015-01-02Add a comment about the default values being duplicated in rcctl(8).Antoine Jacoutot
2014-11-17"reload" should fail if the service is not running in the first place.Antoine Jacoutot
2014-08-30Make it possible to pass a specific error code to _rc_err().Antoine Jacoutot
2014-08-25Put _rc_err argument under quotes to respect the syntax we are passing.Antoine Jacoutot
2014-08-24Fix reversed logic.Antoine Jacoutot
2014-08-24Drop uneeded parenthesis in usage().Antoine Jacoutot
2014-08-24Drop unused variables.Antoine Jacoutot
2014-08-24In debug mode, make it clear when we are using the default flags whenAntoine Jacoutot