mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-05 05:28:47 +02:00
cron user
This commit is contained in:
@@ -132,6 +132,9 @@ if bashio::config.has_value 'Updates'; then
|
||||
cp /templates/cronupdate /etc/cron."${FREQUENCY}"/
|
||||
chmod 777 /etc/cron."${FREQUENCY}"/cronupdate
|
||||
|
||||
# Sets cron to run with www-data user
|
||||
sed -i 's|root|www-data|g' /etc/crontab
|
||||
|
||||
# Starts cron
|
||||
service cron start
|
||||
fi
|
||||
|
||||
@@ -7,6 +7,3 @@ bashio::log.warning "Silent mode activated. Only errors will be shown. Please di
|
||||
else
|
||||
/usr/local/bin/php /var/www/html/artisan firefly:cron
|
||||
fi
|
||||
|
||||
chown -R www-data:www-data /config/addons_config/fireflyiii
|
||||
chown -R www-data:www-data /var/www/html/storage
|
||||
|
||||
Reference in New Issue
Block a user