diff options
Diffstat (limited to 'archsetup')
| -rwxr-xr-x | archsetup | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1349,7 +1349,13 @@ desktop_environment() { pacman_install syncthing # Use user service (not system service) to avoid lock file conflicts if both get enabled loginctl enable-linger "$username" - sudo -u "$username" systemctl --user enable syncthing.service + # Enable syncthing user service by creating symlink directly + # (systemctl --user fails during install - no user session bus available) + action="enabling syncthing user service" && display "task" "$action" + user_systemd_dir="/home/$username/.config/systemd/user/default.target.wants" + mkdir -p "$user_systemd_dir" + ln -sf /usr/lib/systemd/user/syncthing.service "$user_systemd_dir/syncthing.service" + chown -R "$username:$username" "/home/$username/.config/systemd" # Desktop Environment Utilities |
