mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Route cron root through /proc/1/fd/1
https://github.com/alexbelgium/hassio-addons/issues/752
This commit is contained in:
@@ -43,7 +43,10 @@ RUN \
|
|||||||
/etc/php*/php.ini || true && \
|
/etc/php*/php.ini || true && \
|
||||||
\
|
\
|
||||||
# Change location of executable
|
# Change location of executable
|
||||||
sed -i "s|/config|/data/config|g" /usr/bin/occ
|
sed -i "s|/config|/data/config|g" /usr/bin/occ && \
|
||||||
|
\
|
||||||
|
# Change location of log
|
||||||
|
sed -i "s|www/nextcloud/cron.php|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