I use latest Ubuntu 18.04 LAMP but might as well use Debian LAMP or CentOS or something else common.
To restart Apache2 I do:
systemctl restart apache2
But say "tomorrow" this changes the
apache2 changes to
apache-3 or just
What will be the most correct way to prevent a fail in restart? I assume this shell-glob is good:
systemctl restart apache*
Will you use this way as well, or something else?