mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-05 11:24:53 +01:00
Update 99-run.sh
This commit is contained in:
@@ -14,10 +14,10 @@ fi
|
||||
ln -sf /config/.signalk "/home/node/.signalk"
|
||||
|
||||
# Set single user for ssl files
|
||||
for files in ssl-key.pem ssl-cert.pem; do
|
||||
if [ -e /config/.signalk/"$files" ]; then
|
||||
chown "${(id -u)}:${(id -g)}" /config/.signalk/"$files"
|
||||
chmod 600 /config/.signalk/"$files"
|
||||
for file in ssl-key.pem ssl-cert.pem; do
|
||||
if [ -e /config/.signalk/"$file" ]; then
|
||||
chown "$(id -u):$(id -g)" /config/.signalk/"$file"
|
||||
chmod 600 /config/.signalk/"$file"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user