diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-01-18 07:50:10 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-01-18 09:04:49 -0800 |
commit | 7bbc3ba1cb59752158092a0b1df0abc9dc70901b (patch) | |
tree | abad27bdf78c1e87d98d3b5ca2245bb12ec0a6cd /app-emulation/podman/files | |
parent | net-libs/nodejs: bump to 15.6.0 (diff) | |
download | gentoo-7bbc3ba1cb59752158092a0b1df0abc9dc70901b.tar.gz gentoo-7bbc3ba1cb59752158092a0b1df0abc9dc70901b.tar.bz2 gentoo-7bbc3ba1cb59752158092a0b1df0abc9dc70901b.zip |
app-emulation/podman: rename app-emulation/libpod
Closes: https://bugs.gentoo.org/765844
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-emulation/podman/files')
-rw-r--r-- | app-emulation/podman/files/podman.initd | 17 | ||||
-rw-r--r-- | app-emulation/podman/files/podman.logrotated | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app-emulation/podman/files/podman.initd b/app-emulation/podman/files/podman.initd new file mode 100644 index 000000000000..b590be16a1ba --- /dev/null +++ b/app-emulation/podman/files/podman.initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run +# Copyright 2015-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="Podman Remote API Service" +LOG_PATH="/var/log/${RC_SVCNAME}" +RUN_PATH="/run/${RC_SVCNAME}" +pidfile="${RUN_PATH}/${RC_SVCNAME}.pid" +command="/usr/bin/podman" +command_args="--log-level debug varlink -t 0 unix:/run/podman/io.podman" +command_background="true" +start_stop_daemon_args="--stdout ${LOG_PATH}/${RC_SVCNAME}.log --stderr ${LOG_PATH}/${RC_SVCNAME}.log" + +start() { + checkpath -d "${RUN_PATH}" "${LOG_PATH}" + default_start +} diff --git a/app-emulation/podman/files/podman.logrotated b/app-emulation/podman/files/podman.logrotated new file mode 100644 index 000000000000..b9d723451b0a --- /dev/null +++ b/app-emulation/podman/files/podman.logrotated @@ -0,0 +1,7 @@ +/var/log/podman/podman.log { + missingok + size 5M + rotate 3 + compress + copytruncate +} |