a05d79ae2c
ExecStopPost=-/bin/rm -f ${XDG_RUNTIME_DIR}/podman-helper.sock verwijderde
het socketbestand bij stoppen. Hierdoor werd bij herstart een nieuw inode
aangemaakt, terwijl de container-bind-mount nog het oude inode vasthield
(stale mount). Gevolg: health check en _helper_call faalden na herstart
ook al was de helper running.
De cleanup is overbodig: podman-helper.py doet os.unlink() bij opstarten
(regel 153) en bij afsluiten via finally-block (regel 178).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
21 lines
397 B
Desktop File
21 lines
397 B
Desktop File
[Unit]
|
|
Description=Podman systemctl helper socket service
|
|
Documentation=man:systemctl(1)
|
|
After=default.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
|
|
Environment=XDG_RUNTIME_DIR=/run/user/%U
|
|
Environment=LOG_LEVEL=INFO
|
|
|
|
ExecStart=/usr/bin/python3 %h/.config/podman-mvp/podman-helper/podman-helper.py
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=default.target
|