MyNixOS website logo
option

launchd.agents.<name>.config.KeepAlive.SuccessfulExit

If true, the job will be restarted as long as the program exits and with an exit status of zero. If false, the job will be restarted in the inverse condition. This key implies that "RunAtLoad" is set to true, since the job needs to run at least once before we can get an exit status.

Declarations
    Type
    null or boolean
    Default
    null