mirror of
https://gitlab.com/alliedmaldives/ops/podmanbuilder.git
synced 2025-02-23 06:52:08 +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
|
## 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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user