Up til now I have only tried it in this example, but my plan is to
start using it.
I found out another thing:
After running "loginctl enable-linger runner", it seems that you need to use
systemctl --user --machine=username@.host
if you want to avoid having to add a "sleep 1".
At least that is how I interpreted the tip I got on the systemd-devel
Here is my summary of the problem:
Writing a story for www.redhat.com/sysadmin
would be fun. I guess the demo
would then reach a broader audience than this mailing list.
On Mon, Jan 11, 2021 at 9:29 AM Valentin Rothberg <rothberg(a)redhat.com> wrote:
> 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
> 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,
> On Sun, Jan 10, 2021 at 6:58 PM Erik Sjölund <erik.sjolund(a)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:
>> 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
>> Podman mailing list -- podman(a)lists.podman.io
>> To unsubscribe send an email to podman-leave(a)lists.podman.io