home » zplus/clif.git
ID: a108e81eb6d7ae4b949601ede3665f88d9f2b161
25 lines — 635B — View raw


[Unit]
Description=Gunicorn instance to serve CLIF
After=network.target

[Service]
# The root folder where Gitolite stores the repositories.
# Environment=GITOLITE_REPOSITORIES_ROOT=/home/git/repositories

# These are only used when anonymous cloning over HTTPS
# Environment=GITOLITE_SHELL=/home/git/bin/gitolite-shell
# Environment=GITOLITE_HTTP_HOME=/home/git

Environment=INSTANCE_DOMAIN=domain.local
Environment=LOG_PAGINATION=32

User=git
Group=git

WorkingDirectory=/home/git/clif
ExecStart=/home/git/clif/venv/bin/gunicorn --workers 2 --bind localhost:5000 web:application

Restart=always

[Install]
WantedBy=multi-user.target