Hi Erik,

That's really cool, thanks for sharing!

Is it a proof of concept or are you using Podman in systemd in GitHub Actions in production?

I think that's a super cool story for www.redhat.com/sysadmin.  Are you interested in writing a blog on that topic?

Kind regards,
 Valentin

On Sun, Jan 10, 2021 at 6:58 PM Erik Sjölund <erik.sjolund@gmail.com> wrote:
Here is a mini demo of how to run a web server (nginx) with podman in
a user systemd service with Github Actions:
https://github.com/eriksjolund/user-systemd-service-actions-workflow

I noticed two non obvious things:

1. A short sleep was needed after

loginctl enable-linger runner

2. systemctl needs to be run with the environment variable

XDG_RUNTIME_DIR=/run/user/$UID
_______________________________________________
Podman mailing list -- podman@lists.podman.io
To unsubscribe send an email to podman-leave@lists.podman.io