Git initial commit
This commit is contained in:
commit
296ddb8113
35 files changed
+2279
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description = Gunicorn Python Webserver for Modoboa
|
||||
After = network.target
|
||||
|
||||
[Service]
|
||||
PIDFile = run/gunicorn/{{ modoboa_instance }}.pid
|
||||
WorkingDirectory = {{ modoboa_instance_folder }}/{{ modoboa_instance }}
|
||||
ExecStartPre = /bin/mkdir -p /run/gunicorn
|
||||
ExecStartPre = /bin/chown -R {{ modoboa_user }}:{{ modoboa_user }} /run/gunicorn
|
||||
ExecStart = {{ modoboa_py_venv_bin }}/gunicorn -c gunicorn.conf.py {{ modoboa_instance }}.wsgi:application
|
||||
ExecReload = /bin/kill -s HUP $MAINPID
|
||||
ExecStop = /bin/kill -s TERM $MAINPID
|
||||
ExecStopPost = /bin/rm -rf /run/gunicorn
|
||||
PrivateTmp = true
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
||||
Reference in new issue
Block a user