mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
fix: use correct service name (pulse.service) for proxy environment override
The installer was configuring pulse-backend.service.d but the actual service is pulse.service, so the PULSE_SENSOR_PROXY_SOCKET environment variable wasn't being set. Changed: pulse-backend.service → pulse.service This ensures Pulse actually uses the proxy socket for temperature monitoring instead of attempting SSH connections.
This commit is contained in:
@@ -918,8 +918,8 @@ fi
|
||||
|
||||
# Configure Pulse backend environment override inside container
|
||||
print_info "Configuring Pulse to use proxy..."
|
||||
pct exec "$CTID" -- bash -lc "mkdir -p /etc/systemd/system/pulse-backend.service.d"
|
||||
pct exec "$CTID" -- bash -lc "cat <<'EOF' >/etc/systemd/system/pulse-backend.service.d/10-pulse-proxy.conf
|
||||
pct exec "$CTID" -- bash -lc "mkdir -p /etc/systemd/system/pulse.service.d"
|
||||
pct exec "$CTID" -- bash -lc "cat <<'EOF' >/etc/systemd/system/pulse.service.d/10-pulse-proxy.conf
|
||||
[Service]
|
||||
Environment=PULSE_SENSOR_PROXY_SOCKET=${MOUNT_TARGET}/pulse-sensor-proxy.sock
|
||||
EOF"
|
||||
|
||||
Reference in New Issue
Block a user