mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-07 20:53:04 +08:00
fix: 添加设置网站时的RHEL系写法
This commit is contained in:
parent
fa80d50690
commit
ce4aec4a9e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user