I'm confused as to which is best and in which circumstances:
invoke-rc.d apache2 restart
service apache2 restart
Is there a real difference?
man service has the following interesting bit:
service runs a System V init script in as predictable environment as possible, removing most environment variables and with current working directory set to /.
I'm interested mainly in Debian, but also Mint (also based on Debian).