File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353fi
5454
5555# PHP Service Check
56- STATUS=" $( systemctl is-active php${PHP_VER} -fpm) "
56+ STATUS=" $( systemctl is-active " php${PHP_VER} -fpm" ) "
5757if [ " ${STATUS} " = " active" ]; then
5858 echo " PASSED: PHP ${PHP_VER} is running."
5959else
Original file line number Diff line number Diff line change 229229# Enabled Ubuntu Pro Apt Updates
230230if [ " ${UBUNTU_PRO_TOKEN} " != PLACEHOLDER ];
231231 then
232- pro attach ${UBUNTU_PRO_TOKEN}
232+ pro attach " ${UBUNTU_PRO_TOKEN} "
233233fi
234234
235235# Update & Upgrade
Original file line number Diff line number Diff line change 2626create_swap_file () {
2727 local swap_size=$1
2828 echo " Creating swap file of size ${swap_size} "
29- fallocate -l ${swap_size} /swapfile || {
29+ fallocate -l " ${swap_size} " /swapfile || {
3030 echo " Error: Failed to create swap file."
3131 }
3232 mkswap /swapfile || {
Original file line number Diff line number Diff line change 2121# Check if the server is running on a 64-bit environment. If not, exit.
2222BIT_TYPE=$( uname -m)
2323
24- if [ ${BIT_TYPE} != ' x86_64' ];
24+ if [ " ${BIT_TYPE} " != ' x86_64' ];
2525 then
2626 echo " EngineScript requires a 64-bit environment to run optimally."
2727 exit 1
You can’t perform that action at this time.
0 commit comments