From 606d578bed76488b19489b3e659e720d0291bcde Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sat, 25 Nov 2023 13:14:16 +0200 Subject: [PATCH] Update nginx-compile.sh --- compilators/debian/nginx/nginx-compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compilators/debian/nginx/nginx-compile.sh b/compilators/debian/nginx/nginx-compile.sh index 281916f..2c99e17 100644 --- a/compilators/debian/nginx/nginx-compile.sh +++ b/compilators/debian/nginx/nginx-compile.sh @@ -21,11 +21,13 @@ sudo mkdir DEBIAN sudo mkdir usr sudo mkdir usr/local sudo mkdir usr/local/alphax +sudo mkdir /etc/init.d sudo mv /usr/local/alphax/nginx/sbin/nginx /usr/local/alphax/nginx/sbin/alpha-nginx sudo mv /usr/local/alphax/nginx usr/local/alphax sudo cp $MAIN_DIR/control DEBIAN -sudo cp etc/init.d/alphax alphax + +sudo cp /etc/init.d/alphax alphax sudo chmod +x /etc/init.d/alphax ls