8000 GitHub - epochblue/lunchy.sh: A simpler interface to OS X's launchctl
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jan 28, 2024. It is now read-only.

epochblue/lunchy.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lunchy.sh

Note: work on lunchy.sh has stopped in favor of plunchy

lunchy.sh is a simple way to interact with OS X's launchctl. launchctl is straight-forward program, but its interface requires you to pass it full path information for the agents you're launching. Blech.

To save you from having to remember or track down all these paths, lunchy.sh turns this:

launchctl load /usr/local/opt/mongodb/homebrew.mxcl.mongodb.plist

...into this:

lunchy start mongo

lunchy.sh is a simple way to interact with the OS X launchctl application. It's based on the idea behind lunchy Ruby gem, but provides a couple of improvements:

  • lunchy.sh doesn't put files into ~/Library/LaunchAgents. Files in this directory are automatically started when the system boots, defeating the purpose of having them managed.
  • lunchy.sh doesn't copy files into another diretory, so if those LaunchAgents are updated (maybe through homebrew), those updates will be reflected the next time the agent is (re)started.

lunchy.sh's goal is to maintain simplicity, and to that end has a only a few very simple commands:

* ls [pattern]        List all launch agents, or only ones matching the given pattern.
* start {pattern}     Start the launch agent matching the given pattern.
* stop {pattern}      Stop the launch agent matching the given pattern.
* restart {pattern}   Restart the launch agent matching the given pattern.
* status [pattern]    Display the status of all launch agents, or only the ones matching the pattern.
* install {file}      Make lunchy aware of the given launch agent.
* uninstall {file}    Make lunch unaware of the given launch agent.
* show {pattern}      See the launch agent with the specified pattern
* edit {pattern}      Edit the launch agent with the specified pattern

Install

To install lunchy.sh, you can run this from your command line:

curl -s https://raw.github.com/epochblue/lunchy.sh/master/install.sh | sh

License

lunchy.sh is MIT licensed. Please see the included LICENSE file for more information.

Author

Bill Israel - @epochblue - http://billisrael.info/

About

A simpler interface to OS X's launchctl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0