|
|
@ -57,9 +57,11 @@ build_service_from_template() { |
|
|
|
echo "Seems like you've already installed ${SERVICE} here!" |
|
|
|
echo "Seems like you've already installed ${SERVICE} here!" |
|
|
|
echo -en "Would you like to recreate it? ${BLUE}(y/n)${RESET} " |
|
|
|
echo -en "Would you like to recreate it? ${BLUE}(y/n)${RESET} " |
|
|
|
read reset |
|
|
|
read reset |
|
|
|
case reset in |
|
|
|
case $reset in |
|
|
|
"Y" | "y") |
|
|
|
"Y" | "y") |
|
|
|
|
|
|
|
cat /etc/systemd/system/ |
|
|
|
sudo rm $SERVICE_FILE |
|
|
|
sudo rm $SERVICE_FILE |
|
|
|
|
|
|
|
cat /etc/systemd/system/ |
|
|
|
;; |
|
|
|
;; |
|
|
|
"N" | "n") |
|
|
|
"N" | "n") |
|
|
|
echo "Okay, we'll leave it as is." |
|
|
|
echo "Okay, we'll leave it as is." |
|
|
|