mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 19:57:09 +00:00
fix: ensure pulse user is created during updates
- Add create_user() call to update flow (option 1) - Add create_user() call to reinstall flow (option 2) - Fixes 'chown: invalid user: pulse:pulse' error on older installations - Ensures smooth migration from root/other users to pulse user
This commit is contained in:
@@ -363,6 +363,7 @@ main() {
|
||||
1)
|
||||
backup_existing
|
||||
systemctl stop $SERVICE_NAME || true
|
||||
create_user
|
||||
download_pulse
|
||||
start_pulse
|
||||
print_completion
|
||||
@@ -370,6 +371,7 @@ main() {
|
||||
2)
|
||||
backup_existing
|
||||
systemctl stop $SERVICE_NAME || true
|
||||
create_user
|
||||
download_pulse
|
||||
setup_directories
|
||||
install_systemd_service
|
||||
|
||||
Reference in New Issue
Block a user