mk-runscript(8)

πŸ“¦
version 2.3.1 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ¦‹ 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 SVDIR is not set and the current user is not root, then the ~/.service directory gets used. 🏠
  • If the current user is root, SVDIR defaults 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 πŸ‘€

runsvdir(8)


πŸ’œ 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