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:
Pulse Monitor
2025-08-18 10:19:52 +00:00
parent 0a8b54ac99
commit 32d1007284
+2
View File
@@ -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