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