mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-26 15:54:17 +00:00
Update 99-run.sh
This commit is contained in:
1 parent
0af79967fd
commit
33c735bdce
1 file changed
+2
@@ -51,6 +51,8 @@ if [ -d "${SYSTEMPLATE_DIR}" ]; then
|
|||||||
cp /etc/hostname "${SYSTEMPLATE_DIR}/hostname" 2>/dev/null || true
|
cp /etc/hostname "${SYSTEMPLATE_DIR}/hostname" 2>/dev/null || true
|
||||||
cp /etc/resolv.conf "${SYSTEMPLATE_DIR}/resolv.conf"
|
cp /etc/resolv.conf "${SYSTEMPLATE_DIR}/resolv.conf"
|
||||||
fi
|
fi
|
||||||
|
chown 1001 /opt/cool/systemplate
|
||||||
|
chmod -R 755 /opt/cool/systemplate
|
||||||
|
|
||||||
bashio::log.info "Starting Collabora Online..."
|
bashio::log.info "Starting Collabora Online..."
|
||||||
su -s /bin/bash -c "/start-collabora-online.sh" "$(getent passwd 1001 | cut -d: -f1)"
|
su -s /bin/bash -c "/start-collabora-online.sh" "$(getent passwd 1001 | cut -d: -f1)"
|
||||||
Reference in new issue
Block a user