Pulse: fix binary path (#6740)

- recent updates have changed the path
This commit is contained in:
Chris 2025-08-10 13:42:47 -04:00 committed by GitHub
parent 68d2d3c52c
commit 18c57600c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View File

@ -41,6 +41,11 @@ function update_script() {
fetch_and_deploy_gh_release "pulse" "rcourtman/Pulse" "prebuild" "latest" "/opt/pulse" "*-linux-amd64.tar.gz"
chown -R pulse:pulse /etc/pulse /opt/pulse
sed -i 's|pulse/pulse|pulse/bin/pulse|' /etc/systemd/system/pulse.service
systemctl daemon-reload
if [[ -f /opt/pulse/pulse ]]; then
rm -rf /opt/pulse/{pulse,frontend-modern}
fi
msg_info "Starting ${APP}"
systemctl start pulse

View File

@ -44,7 +44,7 @@ Type=simple
User=pulse
Group=pulse
WorkingDirectory=/opt/pulse
ExecStart=/opt/pulse/pulse
ExecStart=/opt/pulse/bin/pulse
Restart=always
RestartSec=3
StandardOutput=journal