diff options
Diffstat (limited to 'scripts/api-quotes-backfill.service')
| -rw-r--r-- | scripts/api-quotes-backfill.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/api-quotes-backfill.service b/scripts/api-quotes-backfill.service new file mode 100644 index 00000000..7b32c11f --- /dev/null +++ b/scripts/api-quotes-backfill.service @@ -0,0 +1,13 @@ +[Unit] +Description=Run API Quotes with backfill +OnFailure=monitor@%n + +[Service] +Type=simple +User=guillaume +Group=guillaume +ExecStart=/usr/bin/python -m api_quotes -b +WorkingDirectory=/home/guillaume/projects/code/python +EnvironmentFile=/etc/serenitas.conf +Environment=PYTHONPATH=/home/guillaume/projects/code/python +LoadCredential=serenitas:/etc/credstore |
