- create a user called
luigid. - create
/home/luigid/logsdirectory. luigid user must have write permissions. - copy
luigi-daemon.confto/etc/supervisor/conf/ sudo supervisorctl update- check that luigid is running (
ps ax | grep luigid)
Created
March 1, 2016 13:59
-
-
Save matagus/ad1983a9dd9fddb15142 to your computer and use it in GitHub Desktop.
Controling luigid (Luigi daemon) using supervisord.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [program:luigi-daemon] | |
| directory=/home/luigid/ | |
| command=/home/luigid/bin/python /home/luigid/bin/luigid --port 8080 --state-path /home/luigid/luigi.pickle --logdir /home/luigid/logs/ | |
| redirect_stderr=true | |
| loglevel=INFO | |
| process_name=luigi-daemon | |
| numprocs=1 | |
| priority=1 | |
| autostart=true | |
| startsecs=1 | |
| startretries=99999 | |
| autorestart=unexpected | |
| exitcodes=0,2 | |
| stdout_logfile_maxbytes=25MB | |
| stdout_logfile_backups=5 | |
| user=luigid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment