---
name: "mk-runscript"
section: "1"
platform: "linux"
package: "runit"
version: "2.1.2-25"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/mk-runscript"
---

# mk-runscript(1)

generate service scripts for runit

## NAME

mk-runscript - generate service scripts for runit

## SYNOPSIS

**mk-runscript** \[--add\|--remove\] unprivilleged *USER*

## DESCRIPTION

Add or remove runscript into directory, specified by SVDIR environment variable. List of supported runscripts see below. These runscripts are too site-specific, so it is impossible to put them into binary package.

If SVDIR is not set and current user is not root, then *~/.service* directory is used. If current user is root, SVDIR defaults to */etc/service.*

### unprivileged

Makes sense only when invoked by root. Setup runscript, that control **runsvdir** process, which belong to specified user and manages services, specified in user's *~/.service* directory.

## SEE ALSO

[**runsvdir**(8)](/runsvdir/8.md)

## AUTHOR

Dmitry Bogatov \<KAction@gnu.org\>
