mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 12:54:04 +02:00
Correct cron output
https://github.com/alexbelgium/hassio-addons/issues/752
This commit is contained in:
@@ -46,7 +46,7 @@ RUN \
|
|||||||
sed -i "s|/config|/data/config|g" /usr/bin/occ && \
|
sed -i "s|/config|/data/config|g" /usr/bin/occ && \
|
||||||
\
|
\
|
||||||
# Change location of log
|
# Change location of log
|
||||||
sed -i "s|www/nextcloud/cron.php|www/nextcloud/cron.php &>/proc/1/fd/1|g" /etc/crontabs/root
|
sed -i "s|s6-setuidgid abc php -f /config/www/nextcloud/cron.php|(echo "$(date '+%Y-%m-%d %H:%M:%S') Starting periodic job" && s6-setuidgid abc php -f /data/config/www/nextcloud/cron.php) &>/proc/1/fd/1|g" /etc/crontabs/root
|
||||||
|
|
||||||
# Global LSIO modifications
|
# Global LSIO modifications
|
||||||
ARG CONFIGLOCATION="/data/config"
|
ARG CONFIGLOCATION="/data/config"
|
||||||
|
|||||||
Reference in New Issue
Block a user