kanit

Toy init system
Log | Files | Refs | README | LICENSE

kanit.8 (1741B)


      1 .TH KANIT 8 "2025-08-03" "kanit 0.1.0" "System Management Commands"
      2 
      3 .SH NAME
      4 kanit \- minimal init system and service manager
      5 
      6 .SH SYNOPSIS
      7 .B kanit
      8 .RI [ options ] " subcommand " [ arguments ]
      9 
     10 .SH DESCRIPTION
     11 \fBkanit\fR is a minimal, single-binary init daemon and service manager 
     12 
     13 .SH OPTIONS
     14 .TP
     15 .BR \-h , " --help"
     16 Display help information and exit.
     17 
     18 .SH SUBCOMMANDS
     19 
     20 .SS Power Commands
     21 
     22 .TP
     23 .B kanit poweroff
     24 Teardown and power off the system.
     25 .RS
     26 .TP
     27 .BR \-f , " --force"
     28 Skip teardown and forcibly power off.
     29 .RE
     30 
     31 .TP
     32 .B kanit reboot
     33 Teardown and reboot the system.
     34 .RS
     35 .TP
     36 .BR \-f , " --force"
     37 Skip teardown and forcibly reboot.
     38 .RE
     39 
     40 .TP
     41 .B kanit halt
     42 Teardown and halt the system.
     43 .RS
     44 .TP
     45 .BR \-f , " --force"
     46 Skip teardown and forcibly halt.
     47 .RE
     48 
     49 .TP
     50 .B kanit kexec
     51 Teardown and reboot via kexec.
     52 .RS
     53 .TP
     54 .BR \-f , " --force"
     55 Force kexec reboot without teardown.
     56 .RE
     57 
     58 .SS Diagnostic Commands
     59 
     60 .TP
     61 .B kanit blame
     62 Print unit startup times.
     63 .RS
     64 .TP
     65 .BR \-s , " --sorted"
     66 Sort by startup duration.
     67 .RE
     68 
     69 .SS Service Commands
     70 
     71 .TP
     72 .B kanit service
     73 General service management utility.
     74 
     75 .TP
     76 .B kanit service enable
     77 Enable a unit at the specified runlevel.
     78 .RS
     79 .TP
     80 .I <unit>
     81 The name of the unit to enable.
     82 .TP
     83 .I [runlevel]
     84 Optional runlevel. If omitted, uses the default.
     85 .RE
     86 
     87 .TP
     88 .B kanit service disable
     89 Disable a unit at the specified runlevel.
     90 .RS
     91 .TP
     92 .I <unit>
     93 The name of the unit to disable.
     94 .TP
     95 .I [runlevel]
     96 Optional runlevel. If omitted, disables from default.
     97 .RE
     98 
     99 .TP
    100 .B kanit service list
    101 List enabled units.
    102 .RS
    103 .TP
    104 .BR \-p , " --plan"
    105 Show service groups and plan.
    106 .RE
    107 
    108 .SH AUTHOR
    109 Sylvia Ivory <git@sivory.net>
    110 
    111 .SH ISSUES
    112 Please report bugs or issues at:
    113 .UR mailto:git@sivory.net
    114 .UE
    115 
    116 .SH SEE ALSO
    117 .BR kanit-unit (5)
    118