We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First, I have installed Supervisor: sudo apt-get install supervisor
sudo apt-get install supervisor
Then I have edited config file: sudo nano /etc/supervisor/conf.d/datapollution.conf
sudo nano /etc/supervisor/conf.d/datapollution.conf
Application will be run as user matej, it will autostart at startup and will be restarted if dies:
matej
[program:datapollution] command = /usr/bin/python3 /home/matej/isp-data-pollution/isp_data_pollution.py -bw 1 user=matej autostart=true autorestart=true
Now I update Supervisor list: sudo supervisorctl update
sudo supervisorctl update
And check if data polluter is working: sudo supervisorctl status
sudo supervisorctl status
I get this: datapollution STARTING
datapollution STARTING
However, I should get RUNNING... I have Debian 9 system.
Or is there maybe some other, more elegant way to autorun it at startup?
The text was updated successfully, but these errors were encountered:
If you want to run it in docker, I'm maintaining a containerized version here.
https://store.docker.com/community/images/pheonix991/isp-data-pollution
Sorry, something went wrong.
You can instead create a startup entry using Startup Applications if you are using Ubuntu.
Startup Applications
Other distros should have an alternative application.
You can just put in python3 ~/isp-data-pollution/isp_data_pollution.py -bw 1 as command.
python3 ~/isp-data-pollution/isp_data_pollution.py -bw 1
No branches or pull requests
First, I have installed Supervisor:
sudo apt-get install supervisor
Then I have edited config file:
sudo nano /etc/supervisor/conf.d/datapollution.conf
Application will be run as user
matej
, it will autostart at startup and will be restarted if dies:Now I update Supervisor list:
sudo supervisorctl update
And check if data polluter is working:
sudo supervisorctl status
I get this:
datapollution STARTING
However, I should get RUNNING... I have Debian 9 system.
Or is there maybe some other, more elegant way to autorun it at startup?
The text was updated successfully, but these errors were encountered: