Add /var/www/html as safe directory
Signed-off-by: Emmy D'Anello <emmy@luemy.eu>
This commit is contained in:
parent
e8454e2922
commit
a5598a4508
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd /var/www/html
|
||||
[ -d .git ] || git clone ${NGINX_SERVER_GIT_URL} .
|
||||
[ -d .git ] || git clone ${NGINX_SERVER_GIT_URL} . && git config --global --add safe.directory /var/www/html
|
||||
|
||||
chown -R nobody:nobody /conf
|
||||
rsync -arvP /conf/ /var/www/html/
|
||||
|
Loading…
x
Reference in New Issue
Block a user