nixos/mesos: restart on failure

This commit is contained in:
Jaka Hudoklin 2014-12-01 16:57:56 +01:00
parent 827ad85a1e
commit 4fe3e44645

View File

@ -91,6 +91,7 @@ in {
--logging_level=${cfg.logLevel} \ --logging_level=${cfg.logLevel} \
${toString cfg.extraCmdLineOptions} ${toString cfg.extraCmdLineOptions}
''; '';
Restart = "on-failure";
PermissionsStartOnly = true; PermissionsStartOnly = true;
}; };
preStart = '' preStart = ''