by 0x54D5 · 7y ago · 0 comments
As a user I'm not a big fan of the order of their CLI switches. For example to restart PHP-FPM:
brew services restart php@7.1
In Ubuntu the same thing is
sudo service php7.0-fpm restart
Should restarting a service require sudo? I think it should.
Should the service name be first and then the operation? I think it should as well.
Good luck convincing brew maintainers of this. It's like talking to a brick wall.
sudo systemctl restart php7.0-fpm
I tend to prefer this syntax because I can perform an action on multiple services with a single command.