man systemd.exec:
PrivateMounts=
Takes a boolean parameter.
When turned on, this executes three operations for each invoked
process: a new CLONE_NEWNS namespace is created, after which all
existing mounts are remounted to MS_SLAVE to disable propagation
from the unit's processes
You can use
SuccessAction=exit
FailureAction=exit
SuccessActionExitStatus=123
inside of a unit or invoke "systemctl exit 123" manually
On Tue, Sep 17, 2024, 10:00 沙包妖梦 wrote:
> I'm using "systemd --system" as PID1 inside podman container.
> I need a way to make RestartPreventExitStatus of hos