From 3aa7d1a61edb5a019f9671ae0d8a92d8fc713852 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Thu, 3 Apr 2025 15:56:38 +0100 Subject: [PATCH] Update BUILD.md --- BUILD.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BUILD.md b/BUILD.md index 430b933f..344f1a82 100644 --- a/BUILD.md +++ b/BUILD.md @@ -212,13 +212,15 @@ If PipeWire or PulseAudio is installed, you must enable Shairport Sync as a _use 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: ``` -$ systemctl --user enable shairport-sync +$ systemctl --user enable --now shairport-sync ``` +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 shairport-sync +# systemctl enable --now shairport-sync ``` +This will also attempt to start Shairport Sync immediately. #### 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.