From d0dae7fd8e14ce82f5c67f5f9646fb2e6950ed4c Mon Sep 17 00:00:00 2001 From: kvaps Date: Tue, 16 Aug 2016 19:23:31 +0300 Subject: [PATCH] del: check for distributed config.php --- nextcloud/10.0/run.sh | 6 +----- nextcloud/9.0/run.sh | 6 +----- nextcloud/daily/run.sh | 6 +----- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/nextcloud/10.0/run.sh b/nextcloud/10.0/run.sh index 703e409..e795c4a 100644 --- a/nextcloud/10.0/run.sh +++ b/nextcloud/10.0/run.sh @@ -1,14 +1,10 @@ #!/bin/sh addgroup -g ${GID} nextcloud && adduser -h /nextcloud -s /bin/sh -D -G nextcloud -u ${UID} nextcloud -if [ -f /nextcloud/config/config.php ] && [ ! -f /config/config.php ]; then - mv /nextcloud/config/config.php /config/config.php -fi -ln -s /config/config.php /nextcloud/config/config.php - touch /var/run/php-fpm.sock mkdir /tmp/fastcgi /tmp/client_body chown -R nextcloud:nextcloud /nextcloud /data /config /apps2 /var/run/php-fpm.sock /var/lib/nginx /tmp +ln -s /config/config.php /nextcloud/config/config.php ln -s /apps2 /nextcloud supervisord -c /etc/supervisor/supervisord.conf diff --git a/nextcloud/9.0/run.sh b/nextcloud/9.0/run.sh index 703e409..e795c4a 100644 --- a/nextcloud/9.0/run.sh +++ b/nextcloud/9.0/run.sh @@ -1,14 +1,10 @@ #!/bin/sh addgroup -g ${GID} nextcloud && adduser -h /nextcloud -s /bin/sh -D -G nextcloud -u ${UID} nextcloud -if [ -f /nextcloud/config/config.php ] && [ ! -f /config/config.php ]; then - mv /nextcloud/config/config.php /config/config.php -fi -ln -s /config/config.php /nextcloud/config/config.php - touch /var/run/php-fpm.sock mkdir /tmp/fastcgi /tmp/client_body chown -R nextcloud:nextcloud /nextcloud /data /config /apps2 /var/run/php-fpm.sock /var/lib/nginx /tmp +ln -s /config/config.php /nextcloud/config/config.php ln -s /apps2 /nextcloud supervisord -c /etc/supervisor/supervisord.conf diff --git a/nextcloud/daily/run.sh b/nextcloud/daily/run.sh index 703e409..e795c4a 100644 --- a/nextcloud/daily/run.sh +++ b/nextcloud/daily/run.sh @@ -1,14 +1,10 @@ #!/bin/sh addgroup -g ${GID} nextcloud && adduser -h /nextcloud -s /bin/sh -D -G nextcloud -u ${UID} nextcloud -if [ -f /nextcloud/config/config.php ] && [ ! -f /config/config.php ]; then - mv /nextcloud/config/config.php /config/config.php -fi -ln -s /config/config.php /nextcloud/config/config.php - touch /var/run/php-fpm.sock mkdir /tmp/fastcgi /tmp/client_body chown -R nextcloud:nextcloud /nextcloud /data /config /apps2 /var/run/php-fpm.sock /var/lib/nginx /tmp +ln -s /config/config.php /nextcloud/config/config.php ln -s /apps2 /nextcloud supervisord -c /etc/supervisor/supervisord.conf