Process Supervisor Rosetta Stone
Copyright (C) 2019 by Steve Litt
License for this page:
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
daemontools | runit | s6 | |
Dir spinner | svscan | runsvdir | s6-svscan |
Single Proc Suprvsr | supervise | runsv | s6-supervise |
Proc Ctrl Pgm | svc | sv | s6-svc |
Run script | run | run | run |
Finish script | ? | finish | finish |
Inhibitor file | ? | down | down |
Proc Status Pgm | svstat | svstat sv status | s6-svstat |
Proc success detect Pgm | svok | n/a | s6-svok |
Anti-backgrounding hack | fghack | n/a 2 | s6-fghack |
user/grp changer | setuidgid | chpst -u 1 | s6-setuidgid |
Env dir | envdir | chpst -e | s6-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