diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-02-13 19:51:52 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-02-13 20:03:56 +0300 |
commit | 30a8bdd213767a1f5d1ac129bc53a23799735549 (patch) | |
tree | 53eeb8d1578ef8935d76ee2e92638766b36891dc /etc/nextcloudpi-config.d | |
parent | df8703cac87b43ef0a10db0a7fd1dc5bfe05209f (diff) |
letsencrypt: only call update-rc.d in docker buildsv0.46.9
Diffstat (limited to 'etc/nextcloudpi-config.d')
-rw-r--r-- | etc/nextcloudpi-config.d/letsencrypt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/letsencrypt.sh b/etc/nextcloudpi-config.d/letsencrypt.sh index 5ed82753..608896af 100644 --- a/etc/nextcloudpi-config.d/letsencrypt.sh +++ b/etc/nextcloudpi-config.d/letsencrypt.sh @@ -92,7 +92,7 @@ EOF rm -rf $NCDIR/.well-known # update configuration - /usr/local/sbin/update-rc.d letsencrypt enable + [[ "$DOCKERBUILD" == 1 ]] && update-rc.d letsencrypt enable return 0 } |