Age | Commit message (Collapse) | Author | |
---|---|---|---|
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@ | |||
2015-01-12 | Make it possible to reset "timeout" to the default value. | Antoine Jacoutot | |
2015-01-12 | "timeout" must be a positive integer. | Antoine Jacoutot | |
2015-01-08 | "default" is gone. | Antoine Jacoutot | |
2015-01-08 | Clarify and simplify. | Antoine Jacoutot | |
2015-01-07 | Tweaks from jmc@ | Antoine Jacoutot | |
2015-01-07 | Start tweaking a bit. | Antoine Jacoutot | |
2015-01-06 | Simplify special vars argument checking; invalidating some bogus constructs | Antoine Jacoutot | |
in the process. | |||
2015-01-06 | While on death-row, 'rcctl status' still is still allowed for now -- so | Antoine Jacoutot | |
make its output match the older one. | |||
2015-01-06 | Sync with new rcctl usage. Will get some much needed love within the next | Antoine Jacoutot | |
few days. | |||
2015-01-06 | Rename some internal variables (flag and flags is way too error-prone): | Antoine Jacoutot | |
flag -> var flags -> args | |||
2015-01-06 | Major rcctl(8) rewrite to simplify it and add new features. It can now | Antoine Jacoutot | |
configure "user" and "timeout". Committing now because there's been no release yet including rcctl(8) so it's easier to modify its usage. Usage extended (*retaining full backward compatibility for now*) to: rcctl set|get|getdef foobar [flags|user|timeout|status] The followings will be dropped soon but not right now to give people time to adjust: rcctl enable sshd flags # 'enable' takes no flags, use 'rcctl set ...' rcctl status sshd # use 'rcctl get sshd [flags|status|timeout|user]' rcctl default sshd # use 'rcctl getdef sshd [flags|status|timeout|user]' rcctl status # use 'rcctl getall' Man page changes will come soon. Make sure you have an up-to-date rc.subr. discussed with schwarze@ robert@ jasper@ sthen@ "love the idea" jasper@ ok schwarze@ | |||
2015-01-01 | Drop redundant FUNCS_ONLY. | Antoine Jacoutot | |
2014-12-30 | Rename a few functions name. Will help factorize some stuffs. | Antoine Jacoutot | |
2014-12-30 | do not print an empty order in case pkg_scripts is undefined | Robert Nagy | |
ok ajacoutot@ | |||
2014-12-30 | add_flags() does not need any action argument. | Antoine Jacoutot | |
Use the flags variable instead of hardcoding the output in preparation for further subcommands. | |||
2014-12-29 | document ordering more explicitly; | Ingo Schwarze | |
feedback and ok ajacoutot@ rpe@ | |||
2014-12-24 | Implement some kind ordering in the startup of package script daemons. | Antoine Jacoutot | |
'rcctl order ...' will prepend the daemon(s) given as argument to the pkg_scripts line (it can be all daemons, some, or just one). Without argument, it'll display the current order. While here, drop a couple of examples from the man page to only leave the most interesting one. ok schwarze@ rpe@ (with tweaks) jasper@ robert@ sthen@ | |||
2014-12-23 | Consistency: put variables between curly braces. | Antoine Jacoutot | |
No functional change intended. | |||
2014-11-01 | Simplify. | Antoine Jacoutot | |
with and ok schwarze@ | |||
2014-10-31 | Make default output matches status. Hackish but we are not allowed to | Antoine Jacoutot | |
use svc_default_enabled_flags like any other function... | |||
2014-10-31 | Useless use of sed(1). | Antoine Jacoutot | |
ok swartze@ |