Skip to content

Commit

Permalink
Make install.sh start mariadb after installation #335
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemhall committed Oct 26, 2023
1 parent e3e994c commit ccdd240
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ elif [ "$is_ubuntu_focal" = true ]; then
apt-get install sudo openssl curl perl make build-essential unzip mysql-server pwgen ntp libimage-magick-perl libmysqlclient-dev libxml-parser-perl libxml-libxml-perl cpanminus cups libcups2-dev pwgen shared-mime-info -y
elif [ "$is_ubuntu_jammy" = true ]; then
apt-get install sudo openssl curl perl make build-essential unzip mysql-server pwgen ntp libimage-magick-perl libmysqlclient-dev libxml-parser-perl libxml-libxml-perl cpanminus cups libcups2-dev pwgen shared-mime-info -y

fi

/etc/init.d/mariadb start

# Auto-created passwords
USERPASS=$(pwgen -B 8 1)
DBPASS=$(pwgen -B 8 1)
Expand Down

0 comments on commit ccdd240

Please sign in to comment.