| INITCTL(8) | System Manager's Manual (smm) | INITCTL(8) |
initctl — Control
tool for Finit
/sbin/initctl |
[-bcfhlpqtv] [COMMAND] |
initctl is the official tool for
interacting with finit(8). It comes with functions for
showing status, querying health of services, as well as editing, enabling
and disabling services.
This program follows the usual UNIX command line syntax, with long options starting with two dashes (`-'). The options are as follows:
-b,
--batch-c,
--create-f,
--force-h,
--help-1,
--once-p,
--plain-q,
--quiet-t,
--no-heading-v,
--verboseinitctl debuginitctl helpinitctl versioninitctl ls |
list*.conf files in
/etc/finit.dinitctl create
CONF.conf in
/etc/finit.d/availableinitctl delete
CONF.conf in
/etc/finit.d/availableinitctl show
CONF.conf in
/etc/finit.d/availableinitctl edit
CONF.conf in
/etc/finit.d/availableinitctl touch
CONF.conf in
/etc/finit.d/available, like
edit this tells finit that a
configuration has been changed and is a candidate to be restarted (or
SIGHUP'ed) on initctl reloadinitctl enable
CONF.conf in
/etc/finit.d/available, i.e., add symlink in
/etc/finit.d/enabledinitctl disable
CONF.conf in
/etc/finit.d/enabled, i.e., removes symlinkinitctl reload*.conf in
/etc/finit.d, i.e., activates changesinitctl cond set
COND+usr/CONDinitctl cond clr |
clear COND-usr/CONDinitctl cond statuscond command.initctl cond dumpinitctl ident
[NAME]NAME. A partial string, e.g.,
NAM, will not match anythinginitctl log
[NAME]NAME, messages from
sysloginitctl start
NAME[:ID]initctl
start tty:1initctl stop
NAME[:ID]initctl reload
NAME[:ID]initctl restart
NAME[:ID]initctl status
NAME[:ID]NAME is
given and multiple instances exits, a summary of all matching instances
are shown. Only an exact match displays the detailed status for a
particular instanceinitctl statusinitctl cgroupinitctl psinitctl topinitctl runlevel
[0-9]initctl rebootreboot is symlinked to
initctlinitctl halthalt is symlinked to
initctlinitctl poweroffpoweroff is symlinked
to initctlinitctl suspendsuspend is symlinked to
initctlinitctl utmp showfinit was conceived and reverse engineered
by Claudio Matsuoka. Since v1.0, maintained by Joachim Wiberg, with
contributions by many others.
| June 6, 2021 | Linux |