Improve unit generation for docker, podman, scripts and programs #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current generator covers basic container start/stop. Expand it to properly handle each runtime type.
Docker
docker.service:Requires=docker.service/After=docker.servicedocker composeas a runtime optionPodman
podman.socketwhere appropriateloginctl enable-linger <user>has not been runScripts / Programs
exec— runs an arbitrary script or binary directlyExecStartset fromcommandfield, no container wrapperGeneral
Type=forkingoption for containers that daemonise themselvesTimeoutStopSecconfigurable per unitEnvironmentFilesupport