4 ms·
What about service apache2 restart
by tokenizerrr 11y ago
What about service apache2 restart
- yellowapple 11y agoOr /etc/rc.d/apache2 restart, as one would find in the BSD world (and Slackware, with a bit of modification). This isn't to mention that it should be relatively trivial to map "restart-service $foo" to "/etc/rc.d/$foo restart" or "systemctl $foo.service restart" or whatever if one so chooses.
- nailer 11y agoSure you could write functions or aliases to everything to give them more predictable names. But you shouldn't have to.
- bbatha 11y agoFreeBSD uses the service command these days too.
- yellowapple 11y agoGood to know. In that case, "BSD Land minus FreeBSD and possibly its descendants".