From 648ff7322f07bab24f3954511263c9f3d666efa6 Mon Sep 17 00:00:00 2001 From: Evgeniy Antonyuk Date: Fri, 17 Mar 2023 12:25:33 +0300 Subject: [PATCH] Fix the owner of the logrotate config (#591) --- run-document-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-document-server.sh b/run-document-server.sh index 91a96b5..fef8dfd 100755 --- a/run-document-server.sh +++ b/run-document-server.sh @@ -601,7 +601,7 @@ else update_welcome_page fi -find /etc/${COMPANY_NAME} -exec chown ds:ds {} \; +find /etc/${COMPANY_NAME} ! -path '*logrotate*' -exec chown ds:ds {} \; #start needed local services for i in ${LOCAL_SERVICES[@]}; do