summaryrefslogtreecommitdiff
path: root/etc/rc.d
AgeCommit message (Collapse)Author
2015-10-21add missing rcsidGleydson Soares
ok renato@
2015-10-18Forcibly delete /var/run/ypbind.lock to prepare for the worst cases.Theo de Raadt
ok aja
2015-10-16Missing local.Antoine Jacoutot
ok schwarze@
2015-10-03Enable eigrpd(8) and eigrpctl(8) in the buildsRenato Westphal
ok deraadt@
2015-09-12Provide an ftpproxy6 rc script. ftp-proxy can only open one listening socketStuart Henderson
at a time, so a second instance of the daemon is required. OK mikeb stsp ajacoutot
2015-08-17sendmail in ports has it's own rc.d file no need to keep this oneJonathan Gray
ok jca@ aja@
2015-08-03Place etc/defaults/radiusd.conf and etc/rc.d/radiusd. Modify etc/rcYASUOKA Masahiko
to hook the rc script and modify etc/rc.conf to make it disable by default. Also add an entry for /etc/radiusd.conf to etc/changelist and etc/mtree/special. ok deraadt
2015-07-19remove code from unbound's rc script that generates control keys/certs ifStuart Henderson
control-enable is used, our standard configuration is using unix domain sockets without certs. existing setups with already-created certificates are ok, if somebody needs remote+certs they can generate keys themself. ok florian@
2015-07-15Fix base rc.d scripts after the recent rc.subr change.Antoine Jacoutot
ok halex@
2015-07-15By default, require an exact match of the process name and argument list.Antoine Jacoutot
This allows running several instances of the same rc.d(8) script by just linking it to different name. e.g. ln -s ftpproxy ftpproxy6 echo 'ftpproxy6_flags=-6' >>/etc/rc.conf.local This is likely to break some rc.d scripts in ports. I will try and fix them all in the next few days but I'd appreciate reports if I missed some. ok halex@
2015-07-15Always use the default flags when running !start.Antoine Jacoutot
This is necessary so that rc.d scripts launched with `-f' can be properly stopped, checked and reloaded. ok schwarze@
2015-07-15Merge comments.Antoine Jacoutot
2015-06-17Really make daemon_class read-only; it's set to "daemon" of a matchingAntoine Jacoutot
login class.
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
reported by jasper@ While here: _rc_is_supported() -> _rc_not_supported() - saves a fork - reduces triple negation to double negation in _rc_not_supported() - simplifie condition for rc_restart=NO from schwarze@ ok jasper@ schwarze@
2015-03-28_rc_err(): only display error message if there's an actual one.Antoine Jacoutot
Remove an exit() statement that could never be reached.
2015-01-02Fix return code of _rc_quirks().Antoine Jacoutot
ok robert@
2015-01-02Add a comment about the default values being duplicated in rcctl(8).Antoine Jacoutot
discussed with schwarze@
2014-12-29Add line continuation to be consistent with rc_pre(); ok sthen@Antoine Jacoutot
2014-12-29pexp is not needed; ok sthen@Antoine Jacoutot
2014-12-22Out out you evil network daemon.Florian Obser
OK deraadt@ some time ago
2014-11-17"reload" should fail if the service is not running in the first place.Antoine Jacoutot
ok robert@ sthen@
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