Process Supervisor Rosetta Stone

Copyright (C) 2019 by Steve Litt
License for this page:

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

daemontoolsrunits6
Dir spinnersvscanrunsvdirs6-svscan
Single Proc Suprvsrsuperviserunsvs6-supervise
Proc Ctrl Pgmsvcsvs6-svc
Run scriptrunrunrun
Finish script?finishfinish
Inhibitor file?downdown
Proc Status Pgmsvstatsvstat
sv status
s6-svstat
Proc success detect Pgmsvokn/as6-svok
Anti-backgrounding hackfghackn/a 2s6-fghack
user/grp changersetuidgidchpst -u 1 s6-setuidgid
Env direnvdirchpst -es6-envdir

Note 1: Runit's chpst does more than just change user and group a process runs under.

Note 2: But see https://github.com/Sunshine-OS/runit/blob/master/utils/fghack.c