diff --git a/systems/ful/radio.nix b/systems/ful/radio.nix index 4c31f47..2e39984 100644 --- a/systems/ful/radio.nix +++ b/systems/ful/radio.nix @@ -127,7 +127,7 @@ in { systemd.services.radio = { environment.TMPDIR = liquidsoapDirectory; serviceConfig = { - RuntimeMaxSec = "${toString (24 * 60 * 60)}s"; + RuntimeMaxSec = "${toString (5 * 60 * 60)}s"; Restart = "always"; }; }; diff --git a/systems/zaatar/spotifyd.nix b/systems/zaatar/spotifyd.nix index 2b5a385..4f639b3 100644 --- a/systems/zaatar/spotifyd.nix +++ b/systems/zaatar/spotifyd.nix @@ -28,6 +28,7 @@ "username:${config.age.secrets.spotify-username.path}" "password:${config.age.secrets.spotify-password.path}" ]; + serviceConfig.RuntimeMaxSec = "${toString (5 * 60 * 60)}s"; serviceConfig.SupplementaryGroups = ["pipewire"]; };