aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/citco_submission.service
blob: 4e46e4c70558f9c7b103c2bf8a073f4a6bbf6076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[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