This commit is contained in:
Shihaam Abdul Rahman 2023-02-28 18:57:25 +05:00
parent 93725b5cc0
commit e04423c21c
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -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 <<EOF > 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 <<EOF > 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/