No project description provided
Project description
superinactive
Supervisor plugin to monitor for file activity and restart program on inactivity
Imagine you have an infinite long running ffmpeg
job, which converts a video stream on the fly.
After a certain time the file output does not change any more but supervisor does not detect the ffmpeg
job as crashed.
This plugin may solve such situations.
Installation:
pip3 install superinactive
Configuration:
[program:ffmpeg]
command=ffmpeg ...... -o /home/volker/out.stream
[program:superinactive]
command=superinactive /home/volker/out.stream 10 ffmpeg
Command line options:
usage: superinactive.py [-h] [-g GROUP] [-a] path timeout [prog [prog ...]]
Supervisor plugin to monitor a file activity and restart programs on
inactivity
optional arguments:
-h, --help show this help message and exit
file monitoring:
path file path to monitor for inactivity
timeout timeout (seconds) for inactivity
programs:
prog supervisor program name to restart
-g GROUP, --group GROUP
supervisor group name to restart
-a, --any restart any child of this supervisor
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
superinactive-0.1.0.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file superinactive-0.1.0.tar.gz
.
File metadata
- Download URL: superinactive-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/5.8.0-0.bpo.2-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebde97ecb2ee0d2e221e5f7e2b7083b099826b0ff7de93bbf57daf306d61271f |
|
MD5 | cdcbcfef3279064fd7f2775b73297e66 |
|
BLAKE2b-256 | 198213bd21e480acd19db4401bcef50151fc83e9642b5e97cc5c388b55d532e7 |
File details
Details for the file superinactive-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: superinactive-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.7.3 Linux/5.8.0-0.bpo.2-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f820279cf9c0f5d6229b500d57acc45ba7d4763e7a7fceb4a645a9b292736800 |
|
MD5 | d01edd35cda1a2e1dc6cbe9bf6e44798 |
|
BLAKE2b-256 | 60e773a9807f18b4d77bd6cd7c11f66710402d56a9fb907f88ec4a631b454073 |