diff options
Diffstat (limited to 'scripts/report_ops@.service')
| -rw-r--r-- | scripts/report_ops@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/report_ops@.service b/scripts/report_ops@.service new file mode 100644 index 00000000..e5d79e6b --- /dev/null +++ b/scripts/report_ops@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run scripts from the report_ops folder +OnFailure=monitor@%n + +[Service] +Type=simple +User=guillaume +Group=guillaume +ExecStart=/usr/bin/python -m report_ops -%i +WorkingDirectory=/home/guillaume/projects/code/python +EnvironmentFile=/etc/serenitas.conf +Environment=PYTHONPATH=/home/guillaume/projects/code/python |
