# /etc/systemd/system/codeq-server.service
[Unit]
Wants=postgresql.service codeq-prolog.service codeq-web.service
After=network.target postgresql.service codeq-prolog.service codeq-web.service
Description=CodeQ server

[Service]
ExecStart=/usr/bin/python3 /var/local/codeq-server/daemon.py
Restart=on-failure
Type=simple
StandardInput=null
StandardOutput=null
StandardError=null
EnvironmentFile=-/etc/default/codeq