Add configuration for AutoCleanUp service (#143)
This commit is contained in:
parent
786b8d2614
commit
39ed0cd26b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue