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.
14 lines
326 B
Bash
Executable File
14 lines
326 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# omarchy:summary=Install the ONCE service, enable its background service, and launch the TUI.
|
|
# omarchy:requires-sudo=true
|
|
|
|
echo "Installing ONCE..."
|
|
omarchy-pkg-add once-bin
|
|
|
|
echo "Enabling ONCE background service..."
|
|
sudo systemctl enable --now once-background.service
|
|
|
|
echo -e "\nLaunching ONCE..."
|
|
sudo once
|