Merge pull request #289331 from K900/greetd-restart-on-success
nixos/greetd: only restart on success
This commit is contained in:
commit
b7efb1e376
@ -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 New Issue
Block a user