[copr] restart logstash each hour
This commit is contained in:
parent
f8a5c61745
commit
4a703de84f
2 changed files with 4 additions and 0 deletions
3
roles/copr/backend/files/cron/restart_logstash.sh
Normal file
3
roles/copr/backend/files/cron/restart_logstash.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/sh
|
||||
|
||||
systemctl restart logstash &> /dev/nul
|
|
@ -179,6 +179,7 @@
|
|||
|
||||
- copy: src="cleanup_vm_nova.py" dest=/home/copr/ mode=755
|
||||
- copy: src="cleanup_vms.sh" dest=/etc/cron.hourly/copr_cleanup_vms.sh mode=755
|
||||
- copy: src="cron/restart_logstash.sh" dest=/etc/cron.hourly/restart_logstash.sh mode=755
|
||||
|
||||
#- name: copy delete-forgotten-instances.pl
|
||||
# copy: src="delete-forgotten-instances.pl" dest=/home/copr/delete-forgotten-instances.pl mode=755
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue