2 ms·
There's a generic wrapper which existed for many years "service apache2 restart" will work regardless of the init type. You can also put "systemctl $1 apache2"
by viraptor 3y ago
There's a generic wrapper which existed for many years "service apache2 restart" will work regardless of the init type.
You can also put "systemctl $1 apache2" in /etc/init.d/apache2 and keep using it. It's really not a big issue.