Prevent 404 error after add website

ref:404.html after installing new website
i dont know… but at 2.1.1 i think we do not need to restart the litespeed services everytime we add the website

if the litespeed give a modification to they OLS. so right now we need to restart Litespeed everytime we add new website…
WHY

Cyberpanel Not give 1 line extra to restart services everytime add website success

The auto-restart feature is just not one line feature, maybe we work and add it in coming versions.

1 Like

… creation syntax …
check if success =1 then reboot else notif_error
:notif_error
print “error”
end

:reboot

systemctl restart lsws

print “success”
close
end