aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/allocate_bonds.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/allocate_bonds.service b/scripts/allocate_bonds.service
index d24f13a5..a63b4e55 100644
--- a/scripts/allocate_bonds.service
+++ b/scripts/allocate_bonds.service
@@ -1,11 +1,12 @@
[Unit]
-Description=Notify counterparties
+Description=send allocation email and upload to bbh
OnFailure=onfailure@%n.service
[Service]
-Type=simple
+Type=oneshot
User=flint
Group=flint
ExecStart=/usr/bin/python bondallocation_email.py
+ExecStart=/usr/bin/python upload_bbh_trades.py
WorkingDirectory=/home/guillaume/projects/code/python
EnvironmentFile=/etc/serenitas.conf