Skip to content

chenhsiu/pydaemon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daemon Start

$ ./sampled.py start

Daemon Stop

$ ./sampled.py stop

or

kill `cat run/sampled.pid`

Graceful Shutdown

Kill the daemon with SIGINT (-2) to notify

$ kill -2 `cat run/sampled.pid`
$ tail log/sampled.out
running 0
running 1
running 2
running 3
running 4
running 5
running 6
running 7
Interrupt on signal 2
graceful shutdown

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages