added a cron job
This commit is contained in:
parent
21a0be6bb3
commit
88cccf0522
1 changed files with 7 additions and 0 deletions
|
@ -342,6 +342,13 @@ class eidas_de_middleware_hsm($version="110-fixes-sc-p11",$hostname='localhost')
|
|||
"SPRING_DATASOURCE_PASSWORD=$spring_datasource_password"],
|
||||
extra_parameters => ["--log-driver=syslog --cpuset-cpus=0-3"]
|
||||
}
|
||||
#temp solution
|
||||
sunet::scriptherder::cronjob { 'reboot_demw_application':
|
||||
cmd => 'service docker-eidas-demw restart',
|
||||
hour => '7',
|
||||
ok_criteria => ['exit_status=0', 'max_age=25h'],
|
||||
warn_criteria => ['exit_status=0', 'max_age=49h'],
|
||||
}
|
||||
}
|
||||
|
||||
class eidas_de_middleware($version="106-rs",$hostname='localhost') {
|
||||
|
|
Loading…
Add table
Reference in a new issue