diff --git a/scripts/docker.sh b/scripts/docker.sh index 0d9a0dd77..f803fe1c5 100644 --- a/scripts/docker.sh +++ b/scripts/docker.sh @@ -34,7 +34,7 @@ main_xbps() { sudo usermod -aG docker "$USER" msg 'docker service with runit' - if [ ! -f '/etc/runit/runsvdir/default/docker' ]; then + if [ ! -L '/etc/runit/runsvdir/default/docker' ]; then sudo ln -s /etc/sv/docker /etc/runit/runsvdir/default/ fi }