# mk-runscript - generate service scripts for runit - man(8) - [phpMan]

[_mk-runscript_(8)](https://www.chedong.com/phpMan.php/man/mk-runscript/8/markdown)                        System Manager's Manual                       [_mk-runscript_(8)](https://www.chedong.com/phpMan.php/man/mk-runscript/8/markdown)

## 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. For a list
       of supported runscripts see below. These runscripts are too site-specific, so it is  impossi‐
       ble to put them into binary package.

       If  SVDIR is not set and current user is not root, then _~/.service_ directory is used. If cur‐
       rent user is root, SVDIR defaults to _/etc/service._


### unprivileged
       Makes sense only when invoked by root. Create a service named _unprivileged.USER_ ; the service
       controls a **runsvdir **instance that belongs to the specified _USER_ and supervises sevices linked
       in _USER's_ _~/.service_ directory.

## SEE ALSO
       [**runsvdir**(8)](https://www.chedong.com/phpMan.php/man/runsvdir/8/markdown)

## AUTHOR
       Dmitry Bogatov <<KAction@gnu.org>>

                                             2017-01-19                              [_mk-runscript_(8)](https://www.chedong.com/phpMan.php/man/mk-runscript/8/markdown)
