cron user

This commit is contained in:
Alexandre
2022-01-17 11:26:09 +01:00
parent 931845e0a4
commit d32cf48b4f
2 changed files with 16 additions and 16 deletions

View File

@@ -2,11 +2,8 @@
bashio::info "Running update according to defined schedule"
if bashio::config.true 'silent'; then
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null
bashio::log.warning "Silent mode activated. Only errors will be shown. Please disable in addon options if you need to debug"
/usr/local/bin/php /var/www/html/artisan firefly:cron >/dev/null
else
/usr/local/bin/php /var/www/html/artisan firefly:cron
/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