Opened 8 years ago
Last modified 8 years ago
#7 closed task
add daemon for cockpit — at Version 1
| Reported by: | zhangjr | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | Keywords: | ||
| Cc: | Blocked By: | ||
| Blocking: | Parent ID: | ||
| Parent Tickets: | Estimated Number of Hours: | 0.0 | |
| Add Hours to Ticket: | 0 | Billable?: | yes |
| Total Hours: | 0 |
Description (last modified by zhangjr)
cockpitDaemon enable monitor the 'restart' command from web.
Subtickets (add)
Child Tickets
Note: See
TracTickets for help on using
tickets.

#!/usr/bin/python
import sys
import time
import threading
import subprocess
class main(threading.Thread):
if name=="main":