Replaced references php With vars
Done because differences between distros is quite big, and this was the beter solution then using alot of if statements List of changes: * Replaced service names php"$phpver"-fpm with $phpFPMService * Replaced PHPver in package list with phpPkgName * Replaced full php config path with $phpMainConf * Replaced php pool path with $phpPoolDir
This commit is contained in:
@@ -45,7 +45,7 @@ elif [ "$shortdist" = "cent8" ]; then
|
||||
# System #
|
||||
##------------##
|
||||
|
||||
localectl set-keymap us-int > $OUTPUT 2>&1
|
||||
localectl set-keymap us > $OUTPUT 2>&1
|
||||
useradd -r -U -s /usr/sbin/nologin -d /var/www www-data > $OUTPUT 2>&1
|
||||
systemctl disable firewalld --now > $OUTPUT 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user