Project

svc

0.0
No commit activity in last 3 years
No release in over 3 years
A ruby command line tool for starting and stopping launchd services
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0
>= 0
 Project Readme

Svc - The Launchd Helper

A ruby command line tool that provides a shortcut for starting and stopping launchd services on Mac OSX.

A config file will be created in your home directory (~/.svc) that will contain a hash of all the nicknames and plist locations. Be careful not to delete that file, as you will then have to manually re-add all the services.

Installation

$ gem install svc

Usage

To see a list of all available services:

$ svc list

To add a new service:

$ svc add <nickname> <path_to_plist>

To delete a service:

$ svc delete <nickname>

To start a service:

$ svc start <nickname>

To stop a service:

$ svc stop <nickname>

To restart a service:

$ svc restart <nickname>