parent
68d2d3c52c
commit
18c57600c6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user