mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Improve systemctl
This commit is contained in:
@@ -96,11 +96,10 @@ if [ -n "$(bashio::addon.port "80")" ] && [ "$(bashio::addon.port "80")" != 80 ]
|
||||
fi
|
||||
|
||||
# Correct systemctl path
|
||||
#echo "... updating systemctl path"
|
||||
#if [[ -f /helpers/systemctl3.py ]]; then
|
||||
# mv /helpers/systemctl3.py /bin/systemctl
|
||||
# chmod a+x /bin/systemctl
|
||||
#fi
|
||||
echo "... updating systemctl path"
|
||||
curl -f -L -s -S https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py -o /bin/systemctl || mv /helpers/systemctl3.py /bin/systemctl
|
||||
chown pi:pi /bin/systemctl
|
||||
chmod a+x /bin/systemctl
|
||||
|
||||
# Improve streamlit cache
|
||||
#echo "... add streamlit cache"
|
||||
|
||||
Reference in New Issue
Block a user