app-emulation/libpod: add package
This commit is contained in:
17
app-emulation/libpod/files/podman.initd
Normal file
17
app-emulation/libpod/files/podman.initd
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user