I think you're probably right, I vote for changing it to Type=forking as
Though since the article is live we have to wait for someone on the
magazine board to edit it :)
Might take a while since FLOCK is this week and quite a few of the board
members are going
He / Him
Associate Software Engineer
Red Hat <
Sorry for the delay to reply.
I did another test, on a fresh new installed F30 minimal in VirtualBox,
with dnf updated OS and newest podman installed .
Without `Type=forking`, the podman process would exit, see the log .
Then I added `Type=forking` into bitwarden.service and restarted it, and
it would run well, see the log .
Maybe I did something wrong? Please let me know.
On Tue, Aug 6, 2019 at 4:00 PM Eric Gustavsson <egustavs(a)redhat.com>
> Hi Pany!
> The podman run was an oversight on my part. Changing it to podman start
> is something we definitely should change.
> I'm not sure about the Type forking. When I looked around people either
> used nothing - which defaults to simple - or used exec.
> Though it seems to work just fine when I'm testing. If you know more than
> me we can change that too, I see no harm in it
> Eric Gustavsson
> He / Him
> Associate Software Engineer
> Red Hat <https://www.redhat.com>
> IM: Telegram: @SpyTec
> On Tue, 6 Aug 2019 at 04:14, Pany <pany(a)fedoraproject.org> wrote:
>> Hi Eric,
>> I read your article on Fedora Magazine – "Manage your passwords with
>> Bitwarden and Podman", which is really helpful! Thank you very
>> Following your approach, I tried on my Fedora 30, step by step, which
>> led to a failure, unfortunately. At last, it turned out that maybe I
>> should do a little modification to your `bitwarden.service` file:
>> Description=Bitwarden Podman container
>> User=my name
>> Group=my group
>> ExecStart=/usr/bin/podman start 'bitwarden'
>> ExecStop=-/usr/bin/podman stop -t 10 'bitwarden'
>> - I added `Type=forking` below the `[Service]` line or the process
>> would exited unexpectedly
>> - I changed `ExecStart` from `podman run` to `podman start` which
>> would make sure podman start the `bitwarden` container created
>> I ain't a pro, and I'm not sure whether the modification is necessary
>> for others. If needed, I think this article could be updated.