Mainsail конфиги не переписываются, если уже есть
This commit is contained in:
parent
c1cfea8593
commit
ddeec510d6
|
@ -40,10 +40,12 @@ apt-get -y install nginx
|
|||
rm -f /etc/nginx/conf.d/default.conf
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
|
||||
[ -e /etc/nginx/conf.d/mainsail.conf ] || \
|
||||
install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/conf.d/mainsail.conf /etc/nginx/conf.d/mainsail.conf
|
||||
[ -e /etc/nginx/sites-enabled/mainsail ] || \
|
||||
install -m644 -o 0 -g 0 $ConfigsHome/etc/nginx/sites-enabled/mainsail /etc/nginx/sites-enabled/mainsail
|
||||
|
||||
install -m644 -o 0 -g 0 $ConfigsHome/etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg
|
||||
install -m644 -o 0 -g 0 -C $ConfigsHome/etc/haproxy/haproxy.cfg /etc/haproxy/haproxy.cfg
|
||||
|
||||
bash -c '
|
||||
systemctl enable klipper
|
||||
|
|
Loading…
Reference in New Issue