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,
--verbose
initctl
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 reload
initctl
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/COND
initctl
cond clr |
clear COND-usr/COND
initctl
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:1
initctl
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
initctl
initctl
halthalt
is symlinked to
initctl
initctl
poweroffpoweroff
is symlinked
to initctl
initctl
suspendsuspend
is symlinked to
initctl
initctl
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 |