Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-19 | Replace some expensive evals. | Antoine Jacoutot | |
2016-06-19 | Do caching differently. | Antoine Jacoutot | |
2016-06-19 | Temporarily turn caching off; there's a small regression when enabling | Antoine Jacoutot | |
multiple daemons at once; being worked on. | |||
2016-06-19 | Implement rcctl get|getdef all. | Antoine Jacoutot | |
With this and the previous 2 commits, we can move from constructs like: $ for i in $(rcctl ls all); do rcctl get $i; done to just: $ rcctl get all Shrinking the run by a factor of more than 3.5. prodded by and discussed with reyk@ at BSDcan2016 ok robert@ | |||
2016-06-19 | Cache result of often used functions (svc_is_{base,meta,special}). | Antoine Jacoutot | |
Large speedup when iterating over all rc.d scripts. with and ok robert@ | |||
2016-06-19 | grep(1) /etc/rc.conf instead of /etc/rc to detect whether a particular | Antoine Jacoutot | |
rc.d script comes from base of not; it's much faster. ok robert@ | |||
2016-06-17 | No need to hardcode return code. | Antoine Jacoutot | |
2016-04-26 | It's ok to disable a non-existing daemon. | Antoine Jacoutot | |
Think "pkg_delete foobar && rcctl disable foobar". | |||
2016-04-26 | Implement daemon_rtable support. | Antoine Jacoutot | |
From Jiri B <jirib ! devio ! us>, thanks! | |||
2016-04-09 | Use builtin. | Antoine Jacoutot | |
2016-04-01 | Rename the 'faulty' list action to 'failed'; it clearer. | Antoine Jacoutot | |
prodded by matthieu@ ok millert@ jung@ sthen@ | |||
2016-03-28 | Remove left-over debug line. | Antoine Jacoutot | |
2016-03-27 | Compute "action" from the _rc_actions variable. | Antoine Jacoutot | |
2016-03-27 | Make usage() a bit more user friendly wrt "action" and "lsarg". | Antoine Jacoutot | |
prodded by espie@ | |||
2016-01-30 | Actually order matters; I missed it when reviewing previous. | Antoine Jacoutot | |
2016-01-30 | Explain how to run multiple copies of the same daemon; | Ingo Schwarze | |
triggered by a frequently asked question by Paolo Aglialoro on misc@; using snmpd(8) on inet6(4) as an example suggested by sthen@; tweaks and OK ajacoutot@. | |||
2016-01-29 | whitespace fixes; ok ajacoutot | Jason McIntyre | |
2016-01-29 | Use apmd instead of ntpd in the example since the later is on by default. | Antoine Jacoutot | |
2016-01-24 | Check all daemons in "faulty", not just the base ones. | Antoine Jacoutot | |
reported by landry@ | |||
2015-12-06 | multicast_{host,router} -> multicast. | Martin Pieuchot | |
ok ajacoutot@ | |||
2015-11-29 | Better cope with meta rc.d scripts; these are ugly but well... | Antoine Jacoutot | |
2015-11-01 | Tweak wording. | Antoine Jacoutot | |
Make sure the rc.d script exist in svc_is_meta(). | |||
2015-10-31 | Only handle meta scripts for rc.d actions and enable/disable only. | Antoine Jacoutot | |
ok sthen@ | |||
2015-10-24 | some minor tweaks; ok ajacoutot | Jason McIntyre | |
2015-10-24 | "enable" and "disable" are here to stay now that they have a real added value | Antoine Jacoutot | |
(possibility to pass several enable|disable daemons at once); so document them. While here, add a check to make sure a service|daemon exists when running "order". "Yay" and ok sthen@ | |||
2015-10-06 | With growing functionality, the synopsis became long and confusing. | Ingo Schwarze | |
The syntax of some subcommands has almost nothing in common with the syntax of others. So split the synopsis to make it more readable. "if you feel it helps, go for it" jmc@ ajacoutot@ | |||
2015-10-06 | use ellipsis for arguments that can be repeated; | Ingo Schwarze | |
ok ajacoutot@ jmc@ | |||
2015-10-04 | Plural. | Antoine Jacoutot | |
2015-10-04 | Make it possible to give the same action to several daemons at once. | Antoine Jacoutot | |
e.g. # rcctl restart sshd ntpd from Martijn van Duren with tweaks ok sthen@ | |||
2015-10-03 | Properly indent usage() output. | Antoine Jacoutot | |
2015-08-12 | Remove getall now that we're post 5.8. | Antoine Jacoutot | |
2015-08-03 | "ls" requires an argument. | Antoine Jacoutot | |
issue reported by kirby@ "hurry up" deraadt@ | |||
2015-08-01 | Tweak needs_root() output. | Antoine Jacoutot | |
When using "ls" with a root action, properly output the action and flags in the error output; from Theo Buehler | |||
2015-07-25 | Use .Cm rather than .Ar for fixed strings passed as arguments (command | Ingo Schwarze | |
modifiers). Patch from Michael Reed <m dot reed at mykolab dot com>, tweaked by jmc@. | |||
2015-07-25 | Fix usage() output. | Antoine Jacoutot | |
from Michael Reed | |||
2015-07-17 | return 0 when using "getall" | Antoine Jacoutot | |
spotted by jasper@ | |||
2015-07-16 | Consistency | Antoine Jacoutot | |
2015-07-16 | No daemon_class for special services. | Antoine Jacoutot | |
2015-07-16 | Shorten variable name. | Antoine Jacoutot | |
2015-07-15 | tweak previous; | Jason McIntyre | |
2015-07-15 | Make it possible to get the daemon_class. | Antoine Jacoutot | |
2015-07-15 | Sort 'ls all'. | Antoine Jacoutot | |
2015-07-14 | Deprecate getall (will be removed after 5.8). | Antoine Jacoutot | |
Implement a new "ls" subcommand, to list daemons according to the argument (all, started, ...). input and ok robert@ ok jasper@ | |||
2015-04-22 | Use .Ar for placeholders and .Cm for arguments to be provided verbatim. | Ingo Schwarze | |
No text change. Inconsistent markup noticed by Alex dot Greif at greifdesign dot net. OK jmc@ ajacoutot@. | |||
2015-03-28 | Add comment. | Antoine Jacoutot | |
2015-03-28 | Add rcctl_err() which is a wrapper for _rc_err() with common rcctl(8) verbiage. | Antoine Jacoutot | |
Add some explicit error messages while here. Prefer cat over cp/mv to edit rc.conf.local; this prevents creating rc.conf.local with mode 0600. | |||
2015-03-02 | Extend previous. | Antoine Jacoutot | |
ok sebastia@ | |||
2015-03-01 | svc_is_base function didn't catched all base daemons, apparently found | Sebastian Reitenbach | |
trying to manage rtadvd with it. OK ajacoutot@ | |||
2015-01-18 | Drop backward compat syntax. | Antoine Jacoutot | |
2015-01-12 | Make sure the given user exists. | Antoine Jacoutot | |
"I like it" sthen@ ok robert@ |