Archived
1
0
Fork 0

Remove nginx

This commit is contained in:
Daniel Kempkens 2023-03-24 22:14:24 +01:00
parent 51dad34940
commit b0ac4274d4
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -42,6 +42,7 @@ if [ "$(id -u)" = 0 ]; then
# skin: move dwd icons # skin: move dwd icons
mkdir /data/static_html mkdir /data/static_html
rm -rf /data/static_html/dwd
cp -r ./public_html/dwd /data/static_html cp -r ./public_html/dwd /data/static_html
chown -R "${WEEWX_UID:-weewx}:${WEEWX_GID:-weewx}" /data/static_html chown -R "${WEEWX_UID:-weewx}:${WEEWX_GID:-weewx}" /data/static_html
chmod 444 /data/static_html/dwd/{icons,warn_icons}/* chmod 444 /data/static_html/dwd/{icons,warn_icons}/*