fix: 添加设置网站时的RHEL系写法

This commit is contained in:
Akatsukiro 2024-01-19 12:53:18 +08:00
parent fa80d50690
commit ce4aec4a9e
Signed by: Akatsukiro
GPG Key ID: 93F1D32999999999

View File

@ -242,8 +242,13 @@ setup_apache() {
</VirtualHost>
EOF
a2ensite lsky.conf
systemctl restart apache2
if [[ $systemFlag == "1" ]] || [[ $systemFlag == "2" ]]; then
a2ensite lsky.conf
systemctl restart apache2
elif [[ $systemFlag == "3" ]]; then
systemctl restart php-fpm.service
systemctl restart httpd
fi
}
download_lsky