mirror of
https://github.com/kmein/niveum
synced 2026-03-19 11:31:09 +01:00
feat(radio, spotifyd): decrease runtime max sec
This commit is contained in:
@@ -127,7 +127,7 @@ in {
|
|||||||
systemd.services.radio = {
|
systemd.services.radio = {
|
||||||
environment.TMPDIR = liquidsoapDirectory;
|
environment.TMPDIR = liquidsoapDirectory;
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
RuntimeMaxSec = "${toString (24 * 60 * 60)}s";
|
RuntimeMaxSec = "${toString (5 * 60 * 60)}s";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
"username:${config.age.secrets.spotify-username.path}"
|
"username:${config.age.secrets.spotify-username.path}"
|
||||||
"password:${config.age.secrets.spotify-password.path}"
|
"password:${config.age.secrets.spotify-password.path}"
|
||||||
];
|
];
|
||||||
|
serviceConfig.RuntimeMaxSec = "${toString (5 * 60 * 60)}s";
|
||||||
serviceConfig.SupplementaryGroups = ["pipewire"];
|
serviceConfig.SupplementaryGroups = ["pipewire"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user