Run ONCE with sudo when installing

The install user is no longer in the docker group by default, so a bare
`once` cannot reach the Docker socket. Run with `sudo` instead.

The script already requires sudo to install the command and enable the
service, so we can safely use it for the initial command launch as well.
This commit is contained in:
Kevin McConnell
2026-08-25 16:12:10 +01:00
parent 4cd8a081cb
commit 2c93e66b0c
+1 -1
View File
@@ -10,4 +10,4 @@ echo "Enabling ONCE background service..."
sudo systemctl enable --now once-background.service
echo -e "\nLaunching ONCE..."
once
sudo once