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:
Daiderd Jordan 2018-02-28 19:58:48 +01:00
parent 14ca85688c
commit 05cb8e5c5a
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -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>