[Unit] Description=Notify distribution if trade upload is acked, as well as update instrument table if upload is commited After=network.target postgresql.service OnFailure=monitor@%n [Service] Type=simple User=guillaume Group=guillaume ExecStart=/usr/bin/python citco_submission.py WorkingDirectory=/home/guillaume/projects/code/python EnvironmentFile=/etc/serenitas.conf LoadCredential=serenitas:/etc/credstore [Install] WantedBy=default.target