1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat(radio, spotifyd): decrease runtime max sec

This commit is contained in:
2024-05-01 16:06:50 +02:00
parent d162de768d
commit 62f99dea6a
2 changed files with 2 additions and 1 deletions

View File

@@ -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";
};
};

View File

@@ -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"];
};