File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -732,6 +732,15 @@ if [ "$phpfpm" = 'yes' ]; then
732732 software=$( echo " $software " | sed -e ' s/php-mysql//' )
733733fi
734734
735+ # ----------------------------------------------------------#
736+ Disable Apparmor on LCX #
737+ # ----------------------------------------------------------#
738+
739+ if grep --quiet lxc /proc/1/environ; then
740+ systemctl stop apparmor
741+ systemctl disable apparmor
742+ fi
743+
735744
736745# ----------------------------------------------------------#
737746# Install packages #
Original file line number Diff line number Diff line change @@ -699,6 +699,16 @@ if [ "$phpfpm" = 'yes' ]; then
699699fi
700700
701701
702+ # ----------------------------------------------------------#
703+ Disable Apparmor on LCX #
704+ # ----------------------------------------------------------#
705+
706+ if grep --quiet lxc /proc/1/environ; then
707+ systemctl stop apparmor
708+ systemctl disable apparmor
709+ fi
710+
711+
702712# ----------------------------------------------------------#
703713# Install packages #
704714# ----------------------------------------------------------#
You can’t perform that action at this time.
0 commit comments