diff options
Diffstat (limited to 'app-emulation/cri-o/files')
-rw-r--r-- | app-emulation/cri-o/files/cri-o.logrotated | 7 | ||||
-rw-r--r-- | app-emulation/cri-o/files/crio.initd | 34 |
2 files changed, 0 insertions, 41 deletions
diff --git a/app-emulation/cri-o/files/cri-o.logrotated b/app-emulation/cri-o/files/cri-o.logrotated deleted file mode 100644 index fb0b8b14a8a1..000000000000 --- a/app-emulation/cri-o/files/cri-o.logrotated +++ /dev/null @@ -1,7 +0,0 @@ -/var/log/crio/crio.log { - missingok - size 5M - rotate 3 - compress - copytruncate -} diff --git a/app-emulation/cri-o/files/crio.initd b/app-emulation/cri-o/files/crio.initd deleted file mode 100644 index 723773033f76..000000000000 --- a/app-emulation/cri-o/files/crio.initd +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2015-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="OCI Kubernetes Container Runtime daemon" -pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} -extra_started_commands="reload" -command="/usr/bin/${RC_SVCNAME}" -command_args="${command_args}" -command_background="true" -start_stop_daemon_args=" \ - --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ - --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" - -depend() { - need net -} - -checkconfig() { - checkpath --directory --owner root:root --mode 0775 \ - /var/log/${RC_SVCNAME} - checkpath --file --owner root:root --mode 0644 \ - /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log -} - -start_pre() { - checkconfig -} - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --signal HUP --pidfile "${pidfile}" - eend $? -} |