aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/quantifi-quotes@.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/quantifi-quotes@.service')
-rw-r--r--scripts/quantifi-quotes@.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/quantifi-quotes@.service b/scripts/quantifi-quotes@.service
new file mode 100644
index 00000000..4c5a68b0
--- /dev/null
+++ b/scripts/quantifi-quotes@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Simple quantifi_quotes service for products
+OnFailure=monitor@%n
+
+[Service]
+Type=simple
+User=guillaume
+Group=guillaume
+ExecStart=/usr/bin/python quotes.py --upload --write %i_quote --product %i
+WorkingDirectory=/home/guillaume/projects/quantifi
+EnvironmentFile=/etc/serenitas.conf
+Environment=PYTHONPATH=/home/guillaume/projects/code/python