From 0dfecdf1785d87807e5ac359374a80c937fc9636 Mon Sep 17 00:00:00 2001 From: fvlasie <33334298+fvlasie@users.noreply.github.com> Date: Mon, 3 Oct 2022 09:49:11 -0700 Subject: [PATCH] alternate to files flag --- Using-Podman.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Using-Podman.md b/Using-Podman.md index 1be845a..d17f968 100644 --- a/Using-Podman.md +++ b/Using-Podman.md @@ -26,7 +26,7 @@ PIDFile=/run/user/1000/overlay-containers/54502f309f3092d32b4c496ef3d099b270b2af WantedBy=multi-user.target default.target ``` -You can provide a `--files` flag to tell podman to put the systemd service into a file. With this we can enable and start the container as any normal service file. +You can provide a `--files` flag to tell podman to put the systemd service into a file or use ```podman generate systemd --name vaultwarden > /etc/systemd/system/container-vaultwarden.service```. With this we can enable and start the container as any normal service file. ```sh $ systemctl enable /etc/systemd/system/container-vaultwarden.service $ systemctl start container-vaultwarden.service