podman: add runit service

This commit is contained in:
lemmi 2022-03-11 22:37:26 +01:00
parent 27bfe553ee
commit cb15632148
5 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,3 @@
#!/bin/sh
[ "$(realpath /run/docker.sock)" = "/run/podman/podman.sock" ] && rm /run/docker.sock

View File

@ -0,0 +1,4 @@
#!/bin/sh
ln -sf /run/podman/podman.sock /run/docker.sock
exec chpst -b podman-docker pause

View File

@ -0,0 +1 @@
/usr/bin/vlogger

View File

@ -0,0 +1,4 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec podman --log-level info system service ${OPTS:---time=0} 2>&1

View File

@ -1,7 +1,7 @@
# Template file for 'podman'
pkgname=podman
version=4.0.2
revision=2
revision=3
build_style=go
go_import_path="github.com/containers/podman/v4"
go_package="${go_import_path}/cmd/podman ${go_import_path}/cmd/rootlessport"
@ -34,4 +34,6 @@ post_install() {
vendor/github.com/containers/common/pkg/config/containers.conf \
>containers.cgfs.conf
vinstall containers.cgfs.conf 644 usr/share/containers containers.conf
vsv podman
vsv podman-docker
}