mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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 && \
|
||||
\
|
||||
# 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
|
||||
ARG CONFIGLOCATION="/data/config"
|
||||
|
||||
Reference in New Issue
Block a user