Forever: Auto Restart Any Script
Project description
Auto restart any script if it stops printing.
Usage
python -m forever [OPTIONS] SCRIPT [SCRIPT_ARGS]
Required arguments:
- SCRIPT [SCRIPT_ARGS]:
script and its arguments
Optional arguments:
- -h, –help:
show help message and exit
- -t TIMEOUT, –timeout TIMEOUT:
timeout in seconds
- -i INTERVAL, –interval INTERVAL:
waiting interval in seconds
Examples
python -m forever bash forever_example.sh
python -m forever -t 3 -i 3 python -u -m forever_example
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
forever-0.8.7.tar.gz
(1.3 kB
view hashes)