mirror of
https://github.com/akatsukiro/lsky-pro-install-script.git
synced 2025-06-08 05:53:04 +08:00
fix: 添加设置网站时的RHEL系写法
This commit is contained in:
parent
fa80d50690
commit
ce4aec4a9e
@ -242,8 +242,13 @@ setup_apache() {
|
|||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
EOF
|
EOF
|
||||||
a2ensite lsky.conf
|
if [[ $systemFlag == "1" ]] || [[ $systemFlag == "2" ]]; then
|
||||||
systemctl restart apache2
|
a2ensite lsky.conf
|
||||||
|
systemctl restart apache2
|
||||||
|
elif [[ $systemFlag == "3" ]]; then
|
||||||
|
systemctl restart php-fpm.service
|
||||||
|
systemctl restart httpd
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
download_lsky
|
download_lsky
|
||||||
|
Loading…
x
Reference in New Issue
Block a user