# mk-runscript(8) - man - 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. List of sup‐
       ported 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 cur‐
       rent 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)](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)
