mirror of
https://gitlab.com/alliedmaldives/ops/podmanbuilder.git
synced 2025-02-22 09:12:02 +00:00
comments
This commit is contained in:
parent
93725b5cc0
commit
e04423c21c
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user