nixos/pulseaudio: increase service restart time

Pulseaudio doesn’t like being restarted too quickly.
This commit is contained in:
Profpatsch 2016-07-21 01:18:06 +02:00
parent 5074a79937
commit 8a6047a525

View File

@ -237,6 +237,7 @@ in {
Type = "notify";
ExecStart = binaryNoDaemon;
Restart = "on-failure";
RestartSec = "500ms";
};
environment = { DISPLAY = ":${toString config.services.xserver.display}"; };
restartIfChanged = true;
@ -276,6 +277,7 @@ in {
Type = "notify";
ExecStart = "${binaryNoDaemon} --log-level=${cfg.daemon.logLevel} --system -n --file=${myConfigFile}";
Restart = "on-failure";
RestartSec = "500ms";
};
};
})