Set crontab user

https://github.com/alexbelgium/hassio-addons/issues/2682
This commit is contained in:
Alexandre
2026-05-18 15:24:01 +02:00
committed by GitHub
parent 480a523ef6
commit c548fd058d

View File

@@ -54,7 +54,7 @@ if bashio::config.has_value 'Updates'; then
chmod 755 /etc/cron."${FREQUENCY}"/cronupdate chmod 755 /etc/cron."${FREQUENCY}"/cronupdate
# Sets cron to run with www-data user # Sets cron to run with www-data user
# sed -i 's|root|www-data|g' /etc/crontab sed -i 's|root|www-data|g' /etc/crontab
# Starts cron # Starts cron
service cron start service cron start