diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /app-emulation/libpod/files | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'app-emulation/libpod/files')
-rw-r--r-- | app-emulation/libpod/files/podman.initd | 17 | ||||
-rw-r--r-- | app-emulation/libpod/files/podman.logrotated | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/app-emulation/libpod/files/podman.initd b/app-emulation/libpod/files/podman.initd new file mode 100644 index 000000000000..b590be16a1ba --- /dev/null +++ b/app-emulation/libpod/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/libpod/files/podman.logrotated b/app-emulation/libpod/files/podman.logrotated new file mode 100644 index 000000000000..b9d723451b0a --- /dev/null +++ b/app-emulation/libpod/files/podman.logrotated @@ -0,0 +1,7 @@ +/var/log/podman/podman.log { + missingok + size 5M + rotate 3 + compress + copytruncate +} |