Fix log creation in chroot script (#8481)
This commit is contained in:
parent
40b6e61c3a
commit
3598114d4e
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ done
|
|||
mkdir -p /chroot/lib /chroot/proc /chroot/usr /chroot/bin /chroot/dev /chroot/run
|
||||
cp /etc/passwd /etc/group /chroot/etc/
|
||||
cp -a /usr/* /chroot/usr/
|
||||
mv /var/log/nginx /chroot/var/log/
|
||||
cp -a /etc/nginx/* /chroot/etc/nginx/
|
||||
cp /lib/ld-musl-* /lib/libcrypto* /lib/libssl* /lib/libz* /chroot/lib/
|
||||
mknod -m 0666 /chroot/dev/null c 1 3
|
||||
|
|
Loading…
Reference in a new issue