mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 10:09:40 +00:00
fix(xcatsn): name SLES Apache service unit
This commit is contained in:
@@ -226,6 +226,7 @@ if [ -e "/etc/redhat-release" ]; then
|
||||
apacheserviceunit='httpd.service'
|
||||
else # SuSE
|
||||
apachedaemon='apache2'
|
||||
apacheserviceunit='apache2.service'
|
||||
fi
|
||||
# enable and reload the web server on linux
|
||||
[ -e "/etc/init.d/$apachedaemon" ] && chkconfig $apachedaemon on
|
||||
|
||||
Reference in New Issue
Block a user