From: Thomas Dalichow Date: Fri, 7 Sep 2018 13:48:26 +0000 (+0200) Subject: fbb-api - restart worker after logrotate X-Git-Tag: v0.1.0~209 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e593aeeb65e8a8e5d678e54470cb57f137a59750;p=pixelpark%2Fhiera.git fbb-api - restart worker after logrotate --- diff --git a/customer/fbb-api/common.yaml b/customer/fbb-api/common.yaml index 94bf432e..e90f616d 100644 --- a/customer/fbb-api/common.yaml +++ b/customer/fbb-api/common.yaml @@ -21,6 +21,7 @@ infra::profile::logrotate::rules: missingok: true create: true ifempty: false + postrotate: '/bin/systemctl restart fbb-worker.target' rabbitmq-server: path: - '/var/log/rabbitmq/*.log'