diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-02-28T18·58+0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-02-28T18·58+0100 |
commit | 05cb8e5c5a954fa999ac5156cdf19148a05fdb2b (patch) | |
tree | 6521e2896a449e52f0d2a6c9bf0f4499f9711561 /misc/launchd | |
parent | 14ca85688cdd17dfcf4b2bd8c324f21d6f3d1dde (diff) |
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.
Diffstat (limited to 'misc/launchd')
-rw-r--r-- | misc/launchd/org.nixos.nix-daemon.plist.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/launchd/org.nixos.nix-daemon.plist.in b/misc/launchd/org.nixos.nix-daemon.plist.in index 66fcd155ee9b..549619a57d56 100644 --- a/misc/launchd/org.nixos.nix-daemon.plist.in +++ b/misc/launchd/org.nixos.nix-daemon.plist.in @@ -4,6 +4,8 @@ <dict> <key>Label</key> <string>org.nixos.nix-daemon</string> + <key>KeepAlive</key> + <true/> <key>RunAtLoad</key> <true/> <key>Program</key> |