Skip to content
/ demon-go Public

Run any command or script as a daemon.

License

Notifications You must be signed in to change notification settings

117/demon-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demon

godoc goreportcard

Install

From console:

bash <(curl -s https://raw.githubusercontent.com/117/demon/master/install.sh)

Example

Use the spawn command to daemonize a script or executable.

$ demon spawn ./my-executable
A new demon has been spawned with PID 12345.

View running daemons with the list command.

$ demon list
PID  	Uptime       	Exec 	Command
64390	2 seconds ago	demon	./my-executable

Contributing

Pull requests are encouraged.