From ba186021ddb07c5fb6dfab17b20c6c98074a4e4a Mon Sep 17 00:00:00 2001 From: hak8or Date: Mon, 6 Nov 2017 20:26:50 -0500 Subject: [PATCH] gogs not initiliazed and started --- gogs.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gogs.sh b/gogs.sh index a623f59..a222ffd 100644 --- a/gogs.sh +++ b/gogs.sh @@ -19,9 +19,12 @@ elif [[ $DEPTH == 3 ]]; then fi echo "$TAGSTR ====== $TITLE (Logged to $LOGFILE) ======" -# All we need to do is install gogs. Gogs configuration must be done via command line. +# All we need to do is install gogs and enable it. +# Gogs configuration must be done via command line. echo "$TAGSTR Installing Gogs" -yaourt -S gogs > $LOGFILE 2>&1 +yaourt -S gogs --noconfirm > $LOGFILE 2>&1 +systemctl enable gogs > $LOGFILE 2>&1 +systemctl start gogs > $LOGFILE 2>&1 # Lastly, say we are done. echo "$TAGSTR Completed $TITLE"