mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
example configurations.
This commit is contained in:
parent
6be2426f09
commit
af016709f4
4 changed files with 58 additions and 1 deletions
14
docs/examples/supervisord/captiveportal.ini
Normal file
14
docs/examples/supervisord/captiveportal.ini
Normal file
|
@ -0,0 +1,14 @@
|
|||
[program:captiveportal]
|
||||
command={{global_virtualenv_path}}/bin/gunicorn portal --workers 3 --log-level DEBUG --bind 127.0.0.1:8080
|
||||
directory=/var/opt/captiveportal/portal
|
||||
pythonpath={{global_virtualenv_path}}/lib/python2.7/site-packages
|
||||
user={{captiveportal_username}}
|
||||
group=virtualenv
|
||||
umask=002
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/captiveportal_gunicorn.log
|
||||
loglevel=debug
|
||||
redirect_stderr=true
|
||||
stopsignal=QUIT
|
||||
environment=PATH={{global_virtualenv_path}}/bin:/bin:/sbin:/usr/bin:/usr/sbin
|
Loading…
Add table
Add a link
Reference in a new issue