Link within chroot

This commit is contained in:
Bob Mottram 2017-10-24 13:34:17 +01:00
parent 92bb07ce34
commit 460eece8cf
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ function mesh_install_cryptpad {
echo '' >> $cryptpad_nginx_site
echo ' try_files /www/$uri /www/$uri/index.html /customize/$uri;' >> $cryptpad_nginx_site
echo '}' >> $cryptpad_nginx_site
ln -s $cryptpad_nginx_site $rootdir/etc/nginx/sites-enabled/cryptpad
chroot "$rootdir" ln -s /etc/nginx/sites-available/cryptpad /etc/nginx/sites-enabled/cryptpad
cd $rootdir$CRYPTPAD_DIR