|
|
@ -257,6 +257,8 @@ getent passwd %{suiapi} >/dev/null \ |
|
|
|
%{suiapi} |
|
|
|
%{suiapi} |
|
|
|
|
|
|
|
|
|
|
|
if [ $1 -gt 1 ]; then # >1=Upgrade |
|
|
|
if [ $1 -gt 1 ]; then # >1=Upgrade |
|
|
|
|
|
|
|
# Disable and stop apache to free the port. |
|
|
|
|
|
|
|
systemctl disable --now httpd.service |
|
|
|
# Transfer files owned by apache to Striker UI API user. |
|
|
|
# Transfer files owned by apache to Striker UI API user. |
|
|
|
chown -R --from apache %{suiapi}: /mnt |
|
|
|
chown -R --from apache %{suiapi}: /mnt |
|
|
|
chown -R --from apache %{suiapi}: %{_localstatedir}/www |
|
|
|
chown -R --from apache %{suiapi}: %{_localstatedir}/www |
|
|
|