unix/fiss

contrib/supervise.txt in master
Repositories | Summary | Log | Files | LICENSE

supervise.txt (1013B) download


 1SUPERVISE FILES
 2===============
 3
 4This document describes files stored in <service>/supervise.
 5<service>/supervise actually lives in /run/fiss/supervise/<service> and 
 6is a symbolic link to it. These files are essential to fiss, if the service-dir would be deleted,
 7the supervise directory is still alive and can be closed normally.
 8
 9  + new in fiss, - same as in runit, ~ different behaviour
10
11- control       FIFO        to control the service (described in ./command.txt)
12+ death         data-file   containing recent deaths of ./run (described in ./death.txt)
13+ event         FIFO        can be subscribed (by ./supervise-dir) to get events (must be enabled)
14- lock          file        which is locked if superviser is active
15- ok            FIFO        which is just openened (as read by superviser) to check whether superviser is doing good
16- pid           text-file   containing the pid of ./run
17- stat          text-file   containing current status
18- status        data-file   containing status of status