Skip to content

Commit

Permalink
Fix syntax issue
Browse files Browse the repository at this point in the history
- Better messages
  • Loading branch information
pentatonicfunk committed Oct 19, 2024
1 parent c798cef commit 87ba465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions config/homebin/vagrant_up
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ fi


vvv_info " * Starting MariaDB service"
if ! sudo service "${mysql_service_name[@]}" status > /dev/null; then
sudo service "${mysql_service_name[@]}" start
fi
if ! sudo service "${mysql_service_name[@]}" status > /dev/null; then
sudo service "${mysql_service_name[@]}" start
fi

vvv_info " * Checking PHP-FPM Services"
Expand Down
2 changes: 1 addition & 1 deletion provision/core/mariadb/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function mysql_setup() {
exit 1
fi
else
vvv_info " * Restarting mariadb service"
vvv_info " * Starting mariadb service"
service "${mysql_service_name[@]}" start
if ! service "${mysql_service_name[@]}" start; then
vvv_error " * Starting MariaDB failed! Fetching service status."
Expand Down

0 comments on commit 87ba465

Please sign in to comment.