mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-20 03:48:59 +02:00
Try to use gosu, not sudo
Signed-off-by: SchumyHao <schumyhaojl@126.com>
This commit is contained in:
@@ -39,6 +39,9 @@ then
|
||||
echo 'Restoring done...'
|
||||
fi
|
||||
|
||||
# Change sudo to gosu
|
||||
sed -i 's/sudo -H -u/gosu/g' /opt/iobroker/iobroker
|
||||
|
||||
# Checking for first run of a new installation and renaming ioBroker
|
||||
if [ -f /opt/iobroker/.install_host ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user