You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
535 B
18 lines
535 B
[Unit]
|
|
Description=CSC Electronic Office daemon
|
|
Documentation=https://git.csclub.uwaterloo.ca/public/pyceo
|
|
Requires=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=exec
|
|
EnvironmentFile=/etc/default/ceod
|
|
WorkingDirectory=/var/lib/ceo
|
|
RuntimeDirectory=ceod
|
|
RuntimeDirectoryPreserve=yes
|
|
ExecStart=/var/lib/ceo/venv/bin/gunicorn $GUNICORN_ARGS 'ceod.api:create_app()'
|
|
# TODO: once the mail container is no longer running in LXC, we should add
|
|
# some security protections here, like ProtectSystem.
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|