]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - restart worker after logrotate
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Fri, 7 Sep 2018 13:48:26 +0000 (15:48 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Fri, 7 Sep 2018 13:48:26 +0000 (15:48 +0200)
customer/fbb-api/common.yaml

index 94bf432ef3334a45534e0ab99c4b52eeb3949af9..e90f616dc7e46018aa49c5a5c0d49b949db500c8 100644 (file)
@@ -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'