why echo, why

This commit is contained in:
Patrick 2024-11-15 17:21:59 +01:00
parent 423d4447f5
commit 9f658a20b9

View file

@ -10,7 +10,7 @@ install:
openssl req -new -key /etc/ssl/private/$(APP).key -out /etc/ssl/certs/$(APP).csr -config openssl.cnf
openssl x509 -req -in /etc/ssl/certs/$(APP).csr -CA /root/ca.crt -CAkey /root/ca.key -CAcreateserial -out /etc/ssl/certs/$(APP).crt -days 500 -sha256
cp nginx.cnf /etc/nginx/sites-enabled/$(APP)
echo -e "\nzone \"jetsearch.com\" {\n type master;\n file \"/etc/bind/db.jetsearch.com\";\n};" | tee -a /etc/bind/named.conf.local
echo "\nzone \"jetsearch.com\" {\n type master;\n file \"/etc/bind/db.jetsearch.com\";\n};" | tee -a /etc/bind/named.conf.local
cp zonefile.cnf /etc/bind/db.$(DOMAIN)
docker load -i $(APP).tar
docker run -p 5000:5000 --name $(APP) --restart always -d $(APP)