[copr] restart logstash each hour

This commit is contained in:
Valentin Gologuzov 2015-08-17 14:55:26 +02:00
parent f8a5c61745
commit 4a703de84f
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/sh
systemctl restart logstash &> /dev/nul

View file

@ -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