summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Collapse)Author
2014-08-30Make it possible to pass a specific error code to _rc_err().Antoine Jacoutot
ok robert@ schwarze@
2014-08-26usr.sbinRobert Nagy
2014-08-25snmpd cannot reloadAlexander Hall
ok reyk@
2014-08-25Put _rc_err argument under quotes to respect the syntax we are passing.Antoine Jacoutot
2014-08-24Fix reversed logic.Antoine Jacoutot
ok schwarze@
2014-08-24Drop uneeded parenthesis in usage().Antoine Jacoutot
ok schwarze@
2014-08-24Drop unused variables.Antoine Jacoutot
2014-08-24In debug mode, make it clear when we are using the default flags whenAntoine Jacoutot
none are set. initial patch from me but reworked by schwarze@ ok schwarze@
2014-08-24In debug mode (`-d'), only print the flags relevant to the rc.d(8) we areAntoine Jacoutot
calling instead of all flags which makes it very difficult to see the information we actually need. ok schwarze@ robert@
2014-08-22disable use of bind in base; in the base use nsd/unbound instead.Theo de Raadt
a proper & complete bind port will show up. discussed with many for years
2014-08-22Set the default nfsd flags to "-tun 4". Matches the commentJonathan Gray
in rc.conf and the behaviour of the backwards compatibility code in rc.subr for nfs_server=YES. ok ajacoutot@
2014-08-21Drop sanitation, _rc_parse_conf does this for us already.Antoine Jacoutot
ok schwarze@
2014-08-17When running interactively, display the output of the "check" actionAntoine Jacoutot
(ok or failed) like we do with all other actions. ok jung@ rpe@
2014-08-11Typo.Antoine Jacoutot
ok kili@
2014-08-11Let _rc_parse_conf stick to parsing /etc/rc.conf and /etc/rc.conf.localMatthias Kilian
if it's invoked without parameters. It's simpler than adding adding /etc/rc.conf and /etc/rc.conf.local parameters whereever _rc_parse_conf is used (e.g. /etc/rc and /etc/netstart). While here, replace a for foo in "$@"; do something; done by for foo; do something; done ok aja@
2014-08-11Make it possible to pass arguments to _rc_parse_conf().Antoine Jacoutot
ok robert@
2014-08-01Don't return, just skip over non existing rc.conf or rc.conf.local file.Robert Peichaer
OK ajacoutot@ halex@
2014-07-31In debug mode, properly sort and drop duplicates so that we don't endAntoine Jacoutot
up with a confusing output like: multicast_host >NO< <...> multicast_host >YES< Also properly evaluate values _after_ running _rc_quirks() because these can modify flags. ok robert@ halex@
2014-07-30Fix evil typo (multicast_hosts -> multicast_host).Antoine Jacoutot
2014-07-22Enable httpd(8) in the builds to get more testing, feedback andReyk Floeter
improvements. It is not "finished" but serves static files. ok deraadt@
2014-07-20Stop using the (now) internal rc.subr functions _rc_do() and _rc_wait().Robert Peichaer
- no need to start spamd in background mode - return from rc_start() in case spamd failed to start - execute spamd-setup without explicitly waiting for spamd prodded by, discussed with and OK ajacoutot@
2014-07-18Since syslog messages are now sent via the sendsyslog(2) system call,Theo de Raadt
we no longer need the spread of dev/log AF_UNIX sockets all over the various chroot spaces. ok beck millert aja
2014-07-17Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming.Antoine Jacoutot
If someone wants to take a shot a modifying this rc script so that it does not use internal rc.subr functions, be my guest... spotted by jsg@
2014-07-13rc.d script for iscsid.Claudio Jeker
2014-07-12replace the heavy shell magic in quirks to handle backward compat with simplerRobert Nagy
methods
2014-07-12Make rc.conf a parsed configuration file and stop sourcing it as a shellRobert Nagy
script. From now on rc.conf has a fixed syntax (key=val) and it is not allowed to add anything to it besides the supported syntax, it all going to be ignored. discussed with and help from deraadt@ and halex@
2014-07-09Add a daemon_timeout variable for rc_wait().Antoine Jacoutot
It represents the maximum time in seconds to wait for the start, stop and reload actions to return. Defaults to "30". No default behavior is changed. ok beck@ sthen@ jasper@ giovanni@
2014-07-09White spaces.Antoine Jacoutot
2014-06-25ensure rc.d/nsd uses a correct exit code as per rc.subr(8); reported byStuart Henderson
Ben Lovett, simpler diff from aja@
2014-05-07pass daemon_flags to nsd-control when used to check/reload/stop nsd,Stuart Henderson
the only useful option here is to specify an alternative config path, which must be used for these operations as well as for startup.
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@