Merge pull request #289331 from K900/greetd-restart-on-success
nixos/greetd: only restart on success
This commit is contained in:
commit
b7efb1e376
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ in
|
|||
serviceConfig = {
|
||||
ExecStart = "${pkgs.greetd.greetd}/bin/greetd --config ${settingsFormat.generate "greetd.toml" cfg.settings}";
|
||||
|
||||
Restart = mkIf cfg.restart "always";
|
||||
Restart = mkIf cfg.restart "on-success";
|
||||
|
||||
# Defaults from greetd upstream configuration
|
||||
IgnoreSIGPIPE = false;
|
||||
|
|
Loading…
Reference in a new issue