Update BUILD.md

This commit is contained in:
Mike Brady
2025-04-14 09:10:28 +01:00
committed by GitHub
parent 9934b69211
commit 0dd7b8b06a
+4 -9
View File
@@ -210,17 +210,12 @@ If PipeWire or PulseAudio is installed, you must enable Shairport Sync as a _use
#### Enable Shairport Sync as a User Service
To enable Shairport Sync as a user service that starts automatically when the user logs in, ensure you are logged in as that user and enter:
To enable Shairport Sync as a user service that starts automatically when the user logs in, reboot, ensure you are logged in as that user and then run the following convenience script:
```
$ systemctl --user enable --now shairport-sync
$ sh user-service-install.sh
```
This will also attempt to start Shairport Sync immediately.
#### Enable Shairport Sync as a System Service
To enable Shairport Sync as a system service that starts automatically when the system starts up, enter:
```
# systemctl enable --now shairport-sync
```
This will also attempt to start Shairport Sync immediately.
This will run a few checks, install a user startup script and start Shairport Sync immediately. (Run `$ sh user-service-install.sh --dry-run` initially if you prefer...)
#### User Service Limitations.
1. If Shairport Sync is installed as a user service, it is activated when that user logs in and deactivated when the user logs out.
On an unattended system, this difficulty can be overcome by using automatic user login.