Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
example usage
Browse files Browse the repository at this point in the history
  • Loading branch information
tebeka committed Jan 27, 2015
1 parent 7e7dbd0 commit 8e39ce2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions update_daemons.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$ ./updated.py 8000 8001 8002
$ supervisorctl status
httpd-8000 RUNNING pid 31768, uptime 0:00:04
httpd-8001 RUNNING pid 31767, uptime 0:00:04
httpd-8002 RUNNING pid 31766, uptime 0:00:04
$ ./updated.py 8000 8004 8002 # Remove 8001, add 8004
httpd-8001: disappeared
httpd-8004: available
httpd-8001: stopped
httpd-8001: removed process group
httpd-8004: added process group
$ supervisorctl status
httpd-8000 RUNNING pid 31768, uptime 0:00:12
httpd-8002 RUNNING pid 31766, uptime 0:00:12
httpd-8004 RUNNING pid 31785, uptime 0:00:02
$

0 comments on commit 8e39ce2

Please sign in to comment.