2
0
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:
Vinícius Ferrão
2026-07-27 17:01:46 -03:00
parent ddf4d35194
commit ae0d790adb
+1
View File
@@ -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