chore: redirect containerd logs to file
This commit is contained in:
parent
1ba08698c2
commit
5c8c24f012
@ -130,7 +130,8 @@ startup_containerd() {
|
|||||||
sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
|
sed -e 's/ / +/g' -e 's/^/+/' < /sys/fs/cgroup/cgroup.controllers \
|
||||||
> /sys/fs/cgroup/cgroup.subtree_control
|
> /sys/fs/cgroup/cgroup.subtree_control
|
||||||
fi
|
fi
|
||||||
nohup containerd &
|
nohup containerd > /tmp/containerd.log 2>&1 &
|
||||||
|
sleep 5 # wait for containerd
|
||||||
log_info 'containerd started'
|
log_info 'containerd started'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user