feat: Optionally disable the pluginmanager

This commit is contained in:
phil 2025-04-20 11:40:35 +02:00
parent d569f0335b
commit 46de2f30a9
5 changed files with 20 additions and 0 deletions

3
files/99-onlyoffice Normal file
View file

@ -0,0 +1,3 @@
### Disables the pluginmanager by removing the directory
DPkg::Post-Invoke { "if dpkg -l | grep -q 'onlyoffice-documentserver'; then rm -rf /var/www/onlyoffice/documentserver/sdkjs-plugins/marketplace; systemctl restart ds-docservice.service fi"; };