ovh.icinga2: fix simple-icinga-dashboard

This commit is contained in:
Franzi 2023-05-20 20:12:24 +02:00
parent 2607049f8d
commit b35bfc85e9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 15 additions and 21 deletions

View file

@ -11,4 +11,17 @@ defaults = {
'filename': '/opt/simple-icinga-dashboard/out/index.html',
},
},
'systemd-timers': {
'timers': {
'simple-icinga-dashboard': {
'when': 'minutely',
'command': '/opt/simple-icinga-dashboard/venv/bin/python /opt/simple-icinga-dashboard/src/service.py',
'pwd': '/opt/simple-icinga-dashboard/src/',
'user': 'icinga_dashboard',
'environment': {
'STATUSPAGE_CONFIG': '/opt/simple-icinga-dashboard/config.toml',
},
},
},
},
}