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:
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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"];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user