mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-12 21:49:45 +00:00
22 lines
323 B
Plaintext
Executable File
22 lines
323 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
depend()
|
|
{
|
|
after docker
|
|
}
|
|
|
|
start()
|
|
{
|
|
ebegin "Running system containerd"
|
|
|
|
# set ulimits as high as possible
|
|
ulimit -n 1048576
|
|
ulimit -p unlimited
|
|
|
|
/usr/bin/containerd 1>&2 2>/var/log/containerd.log &
|
|
|
|
ewaitfile 5 /var/run/containerd/containerd.sock
|
|
|
|
eend $? "Failed to start system containerd"
|
|
}
|