diff options
author | Christian Breunig <christian@breunig.cc> | 2024-09-09 15:57:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-09 15:57:49 +0200 |
commit | 6183ad90fdf4b897fec2c5ccddd5a0e67b1d88da (patch) | |
tree | e4325bb1cd12ca10e2f2862e61ebe18e086f658e /src | |
parent | 9a92c365faf9ef6a8ce30e003d05dc9a52d9b788 (diff) | |
parent | aface21a83f54e0f1a60549589d6ad2caa40f473 (diff) | |
download | vyos-1x-6183ad90fdf4b897fec2c5ccddd5a0e67b1d88da.tar.gz vyos-1x-6183ad90fdf4b897fec2c5ccddd5a0e67b1d88da.zip |
Merge pull request #4040 from vyos/mergify/bp/circinus/pr-4034
container: T6702: re-add missing UNIX API socket (backport #4034)
Diffstat (limited to 'src')
-rw-r--r-- | src/systemd/podman.service | 16 | ||||
-rw-r--r-- | src/systemd/podman.socket | 10 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/systemd/podman.service b/src/systemd/podman.service new file mode 100644 index 000000000..20a16304b --- /dev/null +++ b/src/systemd/podman.service @@ -0,0 +1,16 @@ +[Unit] +Description=Podman API Service +Requires=podman.socket +After=podman.socket +Documentation=man:podman-system-service(1) +StartLimitIntervalSec=0 + +[Service] +Delegate=true +Type=exec +KillMode=process +Environment=LOGGING="--log-level=info" +ExecStart=/usr/bin/podman $LOGGING system service + +[Install] +WantedBy=default.target diff --git a/src/systemd/podman.socket b/src/systemd/podman.socket new file mode 100644 index 000000000..397058ee4 --- /dev/null +++ b/src/systemd/podman.socket @@ -0,0 +1,10 @@ +[Unit] +Description=Podman API Socket +Documentation=man:podman-system-service(1) + +[Socket] +ListenStream=%t/podman/podman.sock +SocketMode=0660 + +[Install] +WantedBy=sockets.target |