Skip to content

if you want to start a process in background, Then you should checkout daemonize

License

Notifications You must be signed in to change notification settings

haibeey/daemonize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daemonize

if you want to start a process in background, Then you should checkout daemonize. Works on unix style systems.

Usage

daemonize --program python3 --args app.py --name pythonapp
daemonize --program godoc --args -http:=6060
daemonize --show daemonize --name pythonapp --kill.
daemonize --kill --name test

Building

go build in repo directory builds the binary

example

+-------+------+-------+----------+---------+
|  PID  | NAME |  CPU  |  MEMORY  |  DISK   |
+-------+------+-------+----------+---------+
| 63085 | test | 12.9% | 154.4 MB | unknown |
+-------+------+-------+----------+---------+

Download

wget -qO- https://raw.githubusercontent.com/haibeey/daemonize/master/install/install.sh | bash
Contribution for creating services for os specific platform are welcome.

About

if you want to start a process in background, Then you should checkout daemonize

Resources

License

Stars

Watchers

Forks

Packages

No packages published