blob: 29d10303ec8aabce62593aa9008a00d6c8171bdb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[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
|