From 7576126cdf6c4c776afb07669908cad49ffd6e8b Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sat, 3 Apr 2021 14:04:27 +0700 Subject: [PATCH] Updated the scripts --- nginx-setup.sh | 3 +++ postgres-setup.sh | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nginx-setup.sh b/nginx-setup.sh index 72ece95..cce6415 100644 --- a/nginx-setup.sh +++ b/nginx-setup.sh @@ -14,3 +14,6 @@ sudo systemctl enable nginx # Start nginx sudo systemctl start nginx + +# Status nginx +sudo systemctl status nginx \ No newline at end of file diff --git a/postgres-setup.sh b/postgres-setup.sh index 0a59fa1..c4ac705 100644 --- a/postgres-setup.sh +++ b/postgres-setup.sh @@ -10,4 +10,10 @@ sudo apt-get update sudo apt upgrade -y # Install postgres and common utils -sudo apt install postgresql postgresql-contrib -y \ No newline at end of file +sudo apt install postgresql postgresql-contrib -y + +# Enable postgres +sudo systemctl enable postgresql + +# Status nginx +sudo systemctl status postgresql \ No newline at end of file