From 39ed0cd26b5f4d5aeb1e98e83a8b1da9023f50d2 Mon Sep 17 00:00:00 2001 From: Evgeniy Antonyuk Date: Wed, 16 Mar 2022 13:19:46 +0300 Subject: [PATCH] Add configuration for AutoCleanUp service (#143) --- run-community-server.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-community-server.sh b/run-community-server.sh index 99c1b94..110bcf8 100644 --- a/run-community-server.sh +++ b/run-community-server.sh @@ -1096,6 +1096,7 @@ systemctl stop onlyofficeStorageMigrate systemctl stop onlyofficeStorageEncryption systemctl stop onlyofficeUrlShortener systemctl stop onlyofficeThumbnailBuilder +systemctl stop onlyofficeAutoCleanUp systemctl stop god systemctl enable god @@ -1142,6 +1143,7 @@ if [ "${APP_SERVICES_EXTERNAL}" == "true" ]; then systemctl disable onlyofficeStorageEncryption.service systemctl disable onlyofficeUrlShortener.service systemctl disable onlyofficeThumbnailBuilder.service + systemctl disable onlyofficeAutoCleanUp.service rm -f /lib/systemd/system/onlyofficeRadicale.service rm -f /lib/systemd/system/onlyofficeTelegram.service @@ -1160,6 +1162,7 @@ if [ "${APP_SERVICES_EXTERNAL}" == "true" ]; then rm -f /lib/systemd/system/onlyofficeStorageEncryption.sevice rm -f /lib/systemd/system/onlyofficeUrlShortener.service rm -f /lib/systemd/system/onlyofficeThumbnailBuilder.service + rm -f /lib/systemd/system/onlyofficeAutoCleanUp.service sed '/onlyoffice/d' -i ${APP_CRON_PATH} else @@ -1180,6 +1183,7 @@ else systemctl enable onlyofficeStorageEncryption.service systemctl enable onlyofficeUrlShortener.service systemctl enable onlyofficeThumbnailBuilder.service + systemctl enable onlyofficeAutoCleanUp.service fi if [ "${APP_MODE}" == "SERVER" ]; then