From 8e708863d02bb502766a8c78efc9ff5db149e6c3 Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Tue, 16 Feb 2021 12:03:49 -0500 Subject: [PATCH] bugfix --- gitea/assets/bin/db-load | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitea/assets/bin/db-load b/gitea/assets/bin/db-load index 41415c7..b46e0eb 100755 --- a/gitea/assets/bin/db-load +++ b/gitea/assets/bin/db-load @@ -1,10 +1,10 @@ #!/bin/bash status=$(systemctl show gitea -p ActiveState --value) -if [[ $status == active]]; then +if [[ $status == active ]]; then systemctl stop gitea fi db-make psql -U $DBUSER -d $DBNAME -f $1 -if [[ $status == active]]; then +if [[ $status == active ]]; then systemctl start gitea fi