| Server IP : 138.197.176.125 / Your IP : 216.73.217.55 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/twisted/runner/__pycache__/ |
Upload File : |
U
W[� � @ s: d Z ddlmZ ddlmZ G dd� dej�Zdd� ZdS ) z>
Support for creating a service which runs a process monitor.
� )�usage)�ProcessMonitorc @ s` e Zd ZdZdZddddegddd d
egdddd
egddddeggZg ZdZdd� Z dd� Z
dS )�OptionszF
Define the options accepted by the I{twistd procmon} plugin.
z[procmon options] commandline� threshold�t� zRHow long a process has to live before the death is considered instant, in seconds.�killtime�k� zpHow long a process being killed has to get its affairs in order before it gets killed with an unmaskable signal.�minrestartdelay�mzLThe minimum time (in seconds) to wait before attempting to restart a process�maxrestartdelay�Mi zLThe maximum time (in seconds) to wait before attempting to restart a processa` procmon runs processes, monitors their progress, and restarts them when they
die.
procmon will not attempt to restart a process that appears to die instantly;
with each "instant" death (less than 1 second, by default), it will delay
approximately twice as long before restarting it. A successful run will reset
the counter.
Eg twistd procmon sleep 10c G s || d<