From 4fe3e4464524043428da6948d682f1d94b6a85cf Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Mon, 1 Dec 2014 16:57:56 +0100 Subject: [PATCH] nixos/mesos: restart on failure --- nixos/modules/services/misc/mesos-master.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/mesos-master.nix b/nixos/modules/services/misc/mesos-master.nix index 89ced530e53..5609cf75bb5 100644 --- a/nixos/modules/services/misc/mesos-master.nix +++ b/nixos/modules/services/misc/mesos-master.nix @@ -91,6 +91,7 @@ in { --logging_level=${cfg.logLevel} \ ${toString cfg.extraCmdLineOptions} ''; + Restart = "on-failure"; PermissionsStartOnly = true; }; preStart = ''