From 629fd917b9b1e390fe09a0fd92e32f947afc3c4c Mon Sep 17 00:00:00 2001 From: Evil0ctal <20760448+Evil0ctal@users.noreply.github.com> Date: Wed, 21 Dec 2022 18:46:39 -0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8FAdd=20bash=20to=20quickly=20d?= =?UTF-8?q?eploy=20the=20project?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 6dc39d4..aad77f8 100644 --- a/install.sh +++ b/install.sh @@ -39,6 +39,7 @@ case $input in case $input in [yY]) systemctl enable web_api.service + echo "API service will start when system boot!" ;; [nN]| *) echo "You can start the service by running: systemctl start web_api.service" @@ -54,6 +55,7 @@ case $input in case $input in [yY]) systemctl enable web_app.service + echo "Web service will start when system boot!" ;; [nN]| *) echo "You can start the service by running: systemctl start web_app.service" @@ -72,16 +74,16 @@ case $input in systemctl enable web_api.service ;; [nN]| *) - echo "You can start them on boot by these commands: - systemctl enable web_app.service/web_api.service" + echo "You can start them on boot by these commands:" + echo "systemctl enable (web_app.service||web_api.service)" ;; esac echo "Starting WEB and API Services..." systemctl start web_app.service systemctl start web_api.service echo "API and APP service are running!" - echo "You can stop the api service by running following command: - systemctl stop web_app.service/web_api.service" + echo "You can stop the api service by running following command: " + echo "systemctl stop (web_app.service||web_api.service)" ;; *) echo "Exiting without running anything..."