finit
finit copied to clipboard
Finit starts services unexpectedly
admin@ha-kiosk:~$ initctl |grep container:dash 0 container:dash stopped [---2345----] container dash admin@ha-kiosk:~$ admin@ha-kiosk:~$ sudo podman start dash dash admin@ha-kiosk:~$ initctl |grep container:dash 4681 container:dash running [---2345----] container dash admin@ha-kiosk:~$
config:
# Start a container instance (%i) and redirect logs to /log/container # Give podman enough time to properly shut down the container, kill:30 # The pre:script, which is responsibe for fetching a remote image, must # not have a timeout. The cleanup should take no longer than a minute. sysv log:prio:local1,tag:%i kill:30 pid:!/run/container:%i.pid \ pre:0,/usr/sbin/container cleanup:60,/usr/sbin/container \ [2345] :%i container -n %i -- container %i admin@ha-kiosk:~$
This looks like an issue with the pidfile plugin, it probably doesn't honor the stopped state and just forwards to Finit; "Hey, I'm happy to report the container is now running!"
Thanks for the report!