Last active
December 12, 2015 01:18
-
-
Save lamanotrama/4689611 to your computer and use it in GitHub Desktop.
growthforecastユーザでplenvで入れたperl使って、growthforecastを動かす場合の、supervisordの設定
This file contains 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:growthforecast] | |
command = plenv exec growthforecast.pl --data-dir /home/growthforecast/data | |
user = growthforecast | |
environment = HOME=/home/growthforecast | |
directory = /home/growthforecast | |
process_name = %(program_name)s | |
redirect_stderr = false | |
stdout_logfile = /var/log/supervisor/%(program_name)s.log | |
stdout_logfile_maxbytes = 50MB | |
stdout_logfile_backups = 10 | |
stderr_logfile = /var/log/supervisor/%(program_name)s_err.log | |
stderr_logfile_maxbytes = 50MB | |
stderr_logfile_backups = 10 | |
autostart = true | |
autorestart= true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment