diff --git a/podman-build.sh b/podman-build.sh index 4d4e152..79c3186 100644 --- a/podman-build.sh +++ b/podman-build.sh @@ -91,6 +91,8 @@ curl -L -o podman-deb/etc/containers/policy.json https://src.fedoraproject.org/r ## Systemd service and socket files mkdir -p podman-deb/usr/lib/systemd/system/ # + +# podman.service LOGGING="--log-level=info" cat < podman-deb/usr/lib/systemd/system/podman.service [Unit] @@ -111,7 +113,7 @@ ExecStart=/usr/local/bin/podman $LOGGING system service WantedBy=default.target EOF - +# podman.socket cat < podman-deb/usr/lib/systemd/system/podman.socket [Unit] Description=Podman API Socket @@ -125,7 +127,7 @@ SocketMode=0660 WantedBy=sockets.target EOF -# + ## Copy the binaries mkdir -p podman-deb/usr/local/bin cp -v build/bin/podman podman-deb/usr/local/bin/