mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-08 11:27:29 +00:00
Merge pull request #1778 from snir911/patch_nofile
Set fixed NOFILE limit value for kata-agent
This commit is contained in:
commit
487e165093
@ -15,7 +15,7 @@ Wants=kata-containers.target
|
|||||||
StandardOutput=tty
|
StandardOutput=tty
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=@BINDIR@/@AGENT_NAME@
|
ExecStart=@BINDIR@/@AGENT_NAME@
|
||||||
LimitNOFILE=infinity
|
LimitNOFILE=1048576
|
||||||
# ExecStop is required for static agent tracing; in all other scenarios
|
# ExecStop is required for static agent tracing; in all other scenarios
|
||||||
# the runtime handles shutting down the VM.
|
# the runtime handles shutting down the VM.
|
||||||
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
|
ExecStop=/bin/sync ; /usr/bin/systemctl --force poweroff
|
||||||
|
Loading…
Reference in New Issue
Block a user