OS X Restart Service Shortcut
This is a small bash snippet I created to keep the syntax uniform between OS X and Ubuntu when restarting services.
function service {
supervisorctl $2 $1
}
This simply reverse the arguments and passes them to supervisorctl. Helps with muscle memory when you're used to restarting services under Ubuntu.
Written by Marc Qualie
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Function
Authors
Chip Castle
21.64K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#