ó
Úm__c           @   sU   d  d l  Z  d  d l Z d d d „  ƒ  YZ d d	 d „  ƒ  YZ d d
 d „  ƒ  YZ d S(   iÿÿÿÿNt   SigFunctionsConc           B   s   e  Z d  „  Z d „  Z RS(   c         C   s   | |  _  d  S(   N(   t   _SigFunctionsCon__ourdaemon(   t   selft	   ourdaemon(    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyt   __init__   s    c         C   s!   t  j j d ƒ t  j d ƒ d  S(   Ns   BB!
i    (   t   syst   stderrt   writet   exit(   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyt   SIGTERM   s    (   t   __name__t
   __module__R   R	   (    (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR       s   	t   ReactFunctionConc           B   s5   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   s   | |  _  d  S(   N(   t   _ReactFunctionCon__ourdaemon(   R   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s    c         C   s   |  j  j ƒ  d  S(   N(   R   t   start(   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s    c         C   s   |  j  j ƒ  d  S(   N(   R   t   stop(   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s    c         C   s   |  j  j ƒ  d  S(   N(   R   t   restart(   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s    c         C   s   | GH|  j  j ƒ  d  S(   N(   R   R   (   R   t   message(    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyt   stmess   s    (   R
   R   R   R   R   R   R   (    (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s
   				t   StatConc           B   s/   e  Z d  Z d „  Z d Z d Z d Z d Z RS(   sœ   Autmation has be applied to distribution sistem feeder for a long time, aspecially as related to protection and the restoration of some parts of the feeder.c         C   s#   x t  r d GHt j d ƒ q Wd  S(   Nt   Helloi   (   t   Truet   timet   sleep(   R   (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyt   run#   s    	s   /tmp/daemon-naprimer.pids	   /dev/nulls
   /dev/pts/0s	   /root/lid(   R
   R   t   strHelpR   t   pidFilet   inputtert	   outputtert   errorer(    (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyR      s   	(    (    (    (   R   R   R    R   R   (    (    (    s7   /var/www/html/amocrm/testDaemon/PyDaemon/demonconfig.pyt   <module>   s   
