]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Update BUILD.md
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 14 Apr 2025 08:10:28 +0000 (09:10 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Apr 2025 08:10:28 +0000 (09:10 +0100)
BUILD.md

index 344f1a82b13dac15adfd8fb00277d167461281ab..f95ba0a3fa6775a7ac45fdb53d82297111b22d27 100644 (file)
--- a/BUILD.md
+++ b/BUILD.md
@@ -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.