-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
In hm module:
Line 227 in f6291c5
Crashed = false; |
causes
activate-agent
rescheduled every 10 seconds.
$ launchctl print gui/501/org.nix-community.home.activate-agenix
gui/501/org.nix-community.home.activate-agenix = {
path = /Users/pluto/Library/LaunchAgents/org.nix-community.home.activate-agenix.plist
type = LaunchAgent
state = spawn scheduled
minimum runtime = 10
exit timeout = 5
runs = 640 #<<------------ two hours after system reboot
last exit code = 0
semaphores = {
successful exit => 0
after crash => 0
}
spawn type = background (5)
...
According to man launchd.plist
Crashed <boolean>
If true, the job will be restarted as long as it exited due to a signal which is typically associated with a crash (SIGILL, SIGSEGV, etc.). If false, the job will be restarted in the inverse condition.
Urie96
Metadata
Metadata
Assignees
Labels
No labels