I'm using the podman Go API which is using sockets to communicate with podman.
Would it by OK to add the podman.socket file as /usr/lib/systemd/user/podman.socket:
[Unit]
Description=Podman API Socket
Documentation=man:podman-system-service(1)
[Socket]
ListenStream=%t/podman/podman.sock
SocketMode=0660
[Install]
WantedBy=sockets.target
And this in /usr/lib/systemd/user/podman.service:
[Unit]
Description=Podman API Service
Requires=podman.socket
After=podman.socket
Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0
[Service]
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"
ExecStart=/usr/local/bin/podman $LOGGING system service
[Install]
WantedBy=default.target
I'm using the podman Go API which is using sockets to communicate with podman.
Would it by OK to add the podman.socket file as
/usr/lib/systemd/user/podman.socket
:And this in
/usr/lib/systemd/user/podman.service
: