From d3427f8b1003f7162d334b0df0ae82a06018890d Mon Sep 17 00:00:00 2001 From: lemmi Date: Fri, 11 Mar 2022 22:37:26 +0100 Subject: [PATCH] podman: add runit service --- srcpkgs/podman/files/podman/log/run | 1 + srcpkgs/podman/files/podman/run | 3 +++ srcpkgs/podman/template | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/podman/files/podman/log/run create mode 100644 srcpkgs/podman/files/podman/run diff --git a/srcpkgs/podman/files/podman/log/run b/srcpkgs/podman/files/podman/log/run new file mode 120000 index 000000000000..3a5b4a586051 --- /dev/null +++ b/srcpkgs/podman/files/podman/log/run @@ -0,0 +1 @@ +/usr/bin/vlogger \ No newline at end of file diff --git a/srcpkgs/podman/files/podman/run b/srcpkgs/podman/files/podman/run new file mode 100644 index 000000000000..c98a70437f84 --- /dev/null +++ b/srcpkgs/podman/files/podman/run @@ -0,0 +1,3 @@ +#!/bin/sh + +exec podman --log-level info system service --time=0 unix:///var/run/docker.sock diff --git a/srcpkgs/podman/template b/srcpkgs/podman/template index c719e4ca6057..b202bb9823d6 100644 --- a/srcpkgs/podman/template +++ b/srcpkgs/podman/template @@ -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,5 @@ 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 }