From 7c72d8c2f32165b852d84cdc7f28a1b05c19cd67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolcman?= Date: Fri, 15 Dec 2023 00:29:05 +0100 Subject: [PATCH 1/2] Fix path to example files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Łukasz Stolcman --- contrib/systemd/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/contrib/systemd/README.md b/contrib/systemd/README.md index af5ae02183..7b70854fe1 100644 --- a/contrib/systemd/README.md +++ b/contrib/systemd/README.md @@ -11,7 +11,10 @@ Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/podman/podman.sock` ### podman.service -You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.service) for a sample podman.service file. +You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.service.in) for a sample podman.service file. + +Note: replace `@@PODMAN@@` with path to podman binary, such as `/usr/bin/podman` + ### podman.socket You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.socket) for a sample podman.socket file. @@ -26,7 +29,9 @@ You can refer to [this example](https://github.com/containers/podman/blob/main/c Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/user/$(id -u)/podman/podman.sock` ### podman.service -You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/user/podman.service) for a rootless podman.service file. +You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.service.in) for a rootless podman.service file. + +Note: replace `@@PODMAN@@` with path to podman binary, such as `/usr/local/bin/podman` ### podman.socket -You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/user/podman.socket) for a rootless podman.socket file. +You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.socket) for a rootless podman.socket file. From e51bab3c972c414d2fcea7b8d3293952173cf451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stolcman?= Date: Fri, 15 Dec 2023 23:54:03 +0100 Subject: [PATCH 2/2] Remove duplicated content in docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Łukasz Stolcman --- contrib/systemd/README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/contrib/systemd/README.md b/contrib/systemd/README.md index 7b70854fe1..a3df99137a 100644 --- a/contrib/systemd/README.md +++ b/contrib/systemd/README.md @@ -27,11 +27,3 @@ You can refer to [this example](https://github.com/containers/podman/blob/main/c 1. `systemctl --user status podman.socket podman.service` Assuming the status messages show no errors, the libpod service is ready to respond to the APIv2 on the unix domain socket `/run/user/$(id -u)/podman/podman.sock` - -### podman.service -You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.service.in) for a rootless podman.service file. - -Note: replace `@@PODMAN@@` with path to podman binary, such as `/usr/local/bin/podman` - -### podman.socket -You can refer to [this example](https://github.com/containers/podman/blob/main/contrib/systemd/system/podman.socket) for a rootless podman.socket file.