{
    "mode": "man",
    "parameter": "supervise",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/supervise/8/json",
    "generated": "2026-06-14T05:06:26Z",
    "synopsis": "supervise s",
    "sections": {
        "NAME": {
            "content": "supervise - starts and monitors a service.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "supervise s\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "supervise  switches to the directory named s and starts ./run. It restarts ./run if ./run ex‐\nits. It pauses for a second after starting ./run, so that it does not  loop  too  quickly  if\n./run exits immediately.\n\nIf  the file s/down exists, supervise does not start ./run immediately. You can use svc(8) to\nstart ./run and to give other commands to supervise.\n\nsupervise maintains status information in a binary format inside the  directory  s/supervise,\nwhich must be writable to supervise.  The status information can be read by svstat(8).\n\nsupervise  may exit immediately after startup if it cannot find the files it needs in s or if\nanother copy of supervise is already running in s.  Once supervise is  successfully  running,\nit  will  not  exit unless it is killed or specifically asked to exit. You can use svok(8) to\ncheck whether supervise is successfully running. You can use svscan(8) to  reliably  start  a\ncollection of supervise processes.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "svc(8),  svok(8),  svstat(8),  svscanboot(8),  svscan(8),  readproctitle(8),  fghack(8), pgr‐\nphack(8), multilog(8),  tai64n(8),  tai64nlocal(8),  setuidgid(8),  envuidgid(8),  envdir(8),\nsoftlimit(8), setlock(8)\n\nhttp://cr.yp.to/daemontools.html\n\n\n\nsupervise(8)",
            "subsections": []
        }
    },
    "summary": "supervise - starts and monitors a service.",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "svc",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svc/8/json"
        },
        {
            "name": "svok",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svok/8/json"
        },
        {
            "name": "svstat",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svstat/8/json"
        },
        {
            "name": "svscanboot",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svscanboot/8/json"
        },
        {
            "name": "svscan",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/svscan/8/json"
        },
        {
            "name": "readproctitle",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/readproctitle/8/json"
        },
        {
            "name": "fghack",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/fghack/8/json"
        },
        {
            "name": "phack",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/phack/8/json"
        },
        {
            "name": "multilog",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/multilog/8/json"
        },
        {
            "name": "tai64n",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tai64n/8/json"
        },
        {
            "name": "tai64nlocal",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/tai64nlocal/8/json"
        },
        {
            "name": "setuidgid",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/setuidgid/8/json"
        },
        {
            "name": "envuidgid",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/envuidgid/8/json"
        },
        {
            "name": "envdir",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/envdir/8/json"
        },
        {
            "name": "softlimit",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/softlimit/8/json"
        },
        {
            "name": "setlock",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/setlock/8/json"
        }
    ]
}