mk-runscript(8)
π¦ mk-runscript(8) β it's giving service script generator β¨
okay bestie, so this one lives in the System Manager's Manual section, and it's literally the little helper that makes runit service scripts happen. no cap. it's called mk-runscript and it's about to be your new fave π«Ά
π NAME π
mk-runscript β generate service scripts for runit
πΈ SYNOPSIS πΈ
mk-runscript --add|--remove unprivilleged USER
β¨ DESCRIPTION β¨
So basically: this thing adds or removes a runscript into the directory that the SVDIR environment variable points at. π
Wanna see which runscripts are supported? Scroll down, they're listed below. π
And here's the tea: these runscripts are too site-specific to be put into a binary package. like, it's literally impossible. they just can't go in there. π
Now, about that directory:
- If
SVDIRis not set and the current user is not root, then the~/.servicedirectory gets used. π - If the current user is root,
SVDIRdefaults to/etc/service. π
π§ unprivileged
This part only makes sense when it's invoked by root, periodt. π
It creates a service named unprivileged.USER β and that service controls a runsvdir instance that belongs to the specified USER, and it supervises sevices linked in USER's ~/.service directory. π
π SEE ALSO π
π AUTHOR π
Dmitry Bogatov <KAction@gnu.org>
and that's the whole page, bestie β 2017-01-19, straight from the System Manager's Manual, mk-runscript(8) era π
stay slaying those runscripts β¨π
π¦ where this page comes from
- debian trixie: runit 2.2.0-3 Β· BSD-3-Clause
- ubuntu noble: runit 2.1.2-59ubuntu1 Β· BSD-3-Clause
- ubuntu questing: runit 2.2.0-4ubuntu1
- ubuntu resolute: runit 2.3.0-1ubuntu1 Β· BSD-3-Clause
- ubuntu stonking: runit 2.3.1-5ubuntu1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms