blob: b66235100ed055fb42e27b2bc17cc4cedd54496a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=Run scripts from the report_ops folder
OnFailure=monitor@%n
[Service]
Type=simple
DynamicUser=Yes
ExecStart=/usr/bin/python -m report_ops -%i
EnvironmentFile=/etc/serenitas.conf
Environment=PGPASS=%d/serenitas_pgpass
Environment=PYTHONPATH=/home/guillaume/projects/code/python
LoadCredential=serenitas:/etc/credstore
ReadWritePaths=/home/serenitas/Daily
|