Allow restarts

This commit is contained in:
Alexandre
2025-03-04 22:57:01 +01:00
parent d25c7eb600
commit cc6458b132
10 changed files with 120 additions and 25 deletions

View File

@@ -3,7 +3,10 @@
set -eu
# Save a copy of the script for further restarts
##################
# ALLOW RESTARTS #
##################
if [ -f /etc/cont-init.d/99-run.sh ]; then
mkdir -p /etc/scripts-init
sed -i "s|/etc/cont-init.d|/etc/scripts-init|g" /ha_entrypoint.sh