hashipi

Raspberry Pi home lab with Nomad and OpenBao
git clone https://git.in0rdr.ch/hashipi.git
Log | Files | Refs | Pull requests |Archive | README

commit 36abfc90ff919bdcae9a881e630dabe3306c4508
parent 7265b1448f9cf4e72579ce5d2e786f05cbadd1fb
Author: Andreas Gruhler <agruhl@gmx.ch>
Date:   Mon, 23 Mar 2026 11:49:12 +0100

fix(jenkins): enable podman socket at boot

Diffstat:
Mnomad.sh | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/nomad.sh b/nomad.sh @@ -220,7 +220,9 @@ tar -C /opt/cni/bin -xzf cni-plugins.tgz # alternative. # https://www.freedesktop.org/software/systemd/man/latest/logind.conf.html#KillUserProcesses= mkdir -p /home/jenkins/.config/systemd/user/sockets.target.wants -cat << EOF >> /home/jenkins/.config/systemd/user/sockets.target.wants/podman.socket + +# Create systemd file for Podman socket +cat << EOF >> /home/jenkins/.config/systemd/user/podman.socket [Unit] Description=Podman API Socket Documentation=man:podman-system-service(1) @@ -236,6 +238,9 @@ WantedBy=sockets.target KillUserProcesses=no EOF +# Enable the socket at boot +ln -s /home/jenkins/.config/systemd/user/podman.socket /home/jenkins/.config/systemd/user/sockets.target.wants/podman.socket + # keep my podman.socket enabled even if no jenkins user is logged in #loginctl enable-linger jenkins # https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#-M