put privileged option first

Having the --privileged option first prevents this error when running unsupported install on ubuntu 20.04, installed through the installer script.
```
CRITICAL (MainThread) [supervisor.misc.hwmon] Not privileged to run udev monitor!
```
This commit is contained in:
Vincent Le Bourlot 2020-12-01 14:26:28 +01:00 committed by GitHub
parent fc0809a4c1
commit 2dc2633213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,8 +24,8 @@ runSupervisor() {
docker rm --force hassio_supervisor || true
# shellcheck disable=SC2086
docker run --name hassio_supervisor \
--privileged \
docker run --privileged \
--name hassio_supervisor \
$APPARMOR \
--security-opt seccomp=unconfined \
-v /run/docker.sock:/run/docker.sock \