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 ## Systemd service and socket files
mkdir -p podman-deb/usr/lib/systemd/system/ mkdir -p podman-deb/usr/lib/systemd/system/
# #
# podman.service
LOGGING="--log-level=info" LOGGING="--log-level=info"
cat <<EOF > podman-deb/usr/lib/systemd/system/podman.service cat <<EOF > podman-deb/usr/lib/systemd/system/podman.service
[Unit] [Unit]
@ -111,7 +113,7 @@ ExecStart=/usr/local/bin/podman $LOGGING system service
WantedBy=default.target WantedBy=default.target
EOF EOF
# podman.socket
cat <<EOF > podman-deb/usr/lib/systemd/system/podman.socket cat <<EOF > podman-deb/usr/lib/systemd/system/podman.socket
[Unit] [Unit]
Description=Podman API Socket Description=Podman API Socket
@ -125,7 +127,7 @@ SocketMode=0660
WantedBy=sockets.target WantedBy=sockets.target
EOF EOF
#
## Copy the binaries ## Copy the binaries
mkdir -p podman-deb/usr/local/bin mkdir -p podman-deb/usr/local/bin
cp -v build/bin/podman podman-deb/usr/local/bin/ cp -v build/bin/podman podman-deb/usr/local/bin/