Try to fix newuidmap exec not found
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
podman-compose
|
||||||
podman-tui
|
podman-tui
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -106,8 +106,11 @@ with lib;
|
|||||||
onFailure = [ "service-failure-notify@%n.service" ];
|
onFailure = [ "service-failure-notify@%n.service" ];
|
||||||
startLimitBurst = 5;
|
startLimitBurst = 5;
|
||||||
startLimitIntervalSec = 600;
|
startLimitIntervalSec = 600;
|
||||||
path = [ pkgs.coreutils ];
|
path = [ pkgs.coreutils pkgs.podman-compose ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Type = "exec";
|
||||||
|
User = "numbus-admin";
|
||||||
|
Group = "users";
|
||||||
TimeoutStartSec = "1000";
|
TimeoutStartSec = "1000";
|
||||||
ExecStartPre = [
|
ExecStartPre = [
|
||||||
"${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'"
|
"${pkgs.bash}/bin/bash -c 'sleep $((RANDOM % ${toString startDelay}))'"
|
||||||
|
|||||||
Reference in New Issue
Block a user