[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