From 62f99dea6a075069eecc68b4ee956041b627f9ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Wed, 1 May 2024 16:06:50 +0200 Subject: [PATCH] feat(radio, spotifyd): decrease runtime max sec --- systems/ful/radio.nix | 2 +- systems/zaatar/spotifyd.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"]; };