Merge pull request #172381 from mayflower/atlassian-service-restart

nixos/{jira,crowd,confluence}: restart service on failure
main
Maximilian Bosch 2 years ago committed by GitHub
commit 4d0e1bfb3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      nixos/modules/services/web-apps/atlassian/confluence.nix
  2. 2
      nixos/modules/services/web-apps/atlassian/crowd.nix
  3. 2
      nixos/modules/services/web-apps/atlassian/jira.nix

@ -189,6 +189,8 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
Restart = "on-failure";
RestartSec = "10";
ExecStart = "${pkg}/bin/start-confluence.sh -fg";
ExecStop = "${pkg}/bin/stop-confluence.sh";
};

@ -157,6 +157,8 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
Restart = "on-failure";
RestartSec = "10";
ExecStart = "${pkg}/start_crowd.sh -fg";
};
};

@ -197,6 +197,8 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
Restart = "on-failure";
RestartSec = "10";
ExecStart = "${pkg}/bin/start-jira.sh -fg";
ExecStop = "${pkg}/bin/stop-jira.sh";
};

Loading…
Cancel
Save