1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/community/containerd/containerd.initd
Jake Buchholz bf26066195 community/containerd: upgrade to 1.4.0
Welcome to the v1.4.0 release of containerd!

The fifth major release of containerd includes a mix of new features and
expanded support, such as support for CGroups v2, expanded SELinux support,
support for Windows on Kubernetes through CRI, and support for snapshotters
based on shared remote storage. All significant bug and stability fixes included
in this release are also available on supported prior releases. Like previous
major releases, what is not included in this release is also important. There
are only two small additions to the API with no backwards incompatible changes,
allowing client and daemon upgrades to be done independently without disruption.
The incredible increase in usage of containerd over the last year has shown the
value of our core principles to easily expand support for different use cases
while driving toward ever increasing stability.

For more details, see https://github.com/containerd/containerd/releases/tag/v1.4.0
2020-08-28 11:59:42 -03:00

34 lines
890 B
Text

#!/sbin/openrc-run
supervisor=supervise-daemon
name="Container Daemon"
description="Standalone containerd (usually started by Docker)"
extra_started_commands="reload"
description_reload="Reload configuration without exiting"
command="${containerd_command:-/usr/bin/containerd}"
command_args="${containerd_opts}"
rc_ulimit="${ulimit_opts:--c unlimited -n 1048576 -u unlimited}"
retry="${signal_retry:-TERM/60/KILL/10}"
log_file="${log_file:-/var/log/${RC_SVCNAME}.log}"
err_file="${err_file:-${log_file}}"
log_mode="${log_mode:-0644}"
log_owner="${log_owner:-root:root}"
supervise_daemon_args="${supervise_daemon_opts:---stderr \"${err_file}\" --stdout \"${log_file}\"}"
depend() {
need sysfs cgroups
}
start_pre() {
checkpath -f -m "$log_mode" -o "$log_owner" "$log_file" "$err_file"
}
reload() {
ebegin "Reloading configuration"
$supervisor $RC_SVCNAME --signal HUP
eend $?
}