Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmonsays committed Jul 12, 2017
1 parent 652e1bc commit 5c4e330
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,66 @@ example user configuration:
number: 10
max_size: 52428800

# usage

% runitcmd -h
NAME:
runitcmd - manage runit services

USAGE:
runitcmd [global options] command [command options] [arguments...]

VERSION:
0.0.1

COMMANDS:
list, ls list services
create Create services
setup setup a service
apply update service
status, st get service status
import import service
export export service
delete delete a service
activate activate a service
deactivate deactivate a service
enable enable a service
disable disable a service
reset reset a service
up up a service
down down a service
pause pause a service
cont cont a service
hup hup a service
alarm alarm a service
interrupt interrupt a service
quit quit a service
usr1 usr1 a service
usr2 usr2 a service
term term a service
kill kill a service
start start a service
stop stop a service
reload reload a service
restart restart a service
shutdown shutdown a service
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--config value, -c value override configuration file
--level value, -l value change log level (default: "WARN")
--service-dir value change service dir
--active-dir value change active service dir
--help, -h show help
--version, -v print the version

# Examples

Setup a service

runitcmd setup sleep --run 'sleep 3600'



`EOF`

0 comments on commit 5c4e330

Please sign in to comment.