Main index | Section 8 | Options |
The options are as follows:
| |
List services that are enabled. The list of scripts to check is compiled using rcorder(8) the same way that it is done in rc(8), then that list of scripts is checked for an "rcvar" assignment. If present the script is checked to see if it is enabled. | |
| |
Perform the given actions under the named jail. The jail argument can be either a jail ID or a jail name. | |
| |
List all files in /etc/rc.d and the local startup directories. As described in rc.conf(5) this is usually /usr/local/etc/rc.d. All files will be listed whether they are an actual rc.d script or not. | |
| |
Restart all enabled local services. | |
| |
Generate the
rcorder(8)
as in
| |
| |
Be slightly more verbose. | |
service named status service -j dns named status service -rv
The following programmable completion entry can be used in bash(1) for the names of the rc.d scripts:
_service () { local cur cur=${COMP_WORDS[COMP_CWORD]} COMPREPLY=( $( compgen -W '$( service -l )' -- $cur ) ) return 0 } complete -F _service service
SERVICE (8) | June 23, 2020 |
Main index | Section 8 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
— Ken Pier, Xerox PARC |