launchd: enable keepalive for the nix-daemon service
Without this the daemon won't be restarted if the process ever dies, for example when sending a SIGHUP to reload nix.conf.
This commit is contained in:
parent
14ca85688c
commit
05cb8e5c5a
|
@ -4,6 +4,8 @@
|
||||||
<dict>
|
<dict>
|
||||||
<key>Label</key>
|
<key>Label</key>
|
||||||
<string>org.nixos.nix-daemon</string>
|
<string>org.nixos.nix-daemon</string>
|
||||||
|
<key>KeepAlive</key>
|
||||||
|
<true/>
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>Program</key>
|
<key>Program</key>
|
||||||
|
|
Loading…
Reference in a new issue