Skip to content

Instantly share code, notes, and snippets.

@tavinus
Created December 7, 2021 19:51
Show Gist options
  • Save tavinus/ba935323d7688352f2c4a08bf0675eb4 to your computer and use it in GitHub Desktop.
Save tavinus/ba935323d7688352f2c4a08bf0675eb4 to your computer and use it in GitHub Desktop.
Disable Onlyoffice Docs Example

Stop services

sudo supervisorctl stop all

Remove or move example folder

sudo mv /etc/onlyoffice/documentserver-example /etc/onlyoffice/documentserver-example-disabled
## OR
sudo rm -rf /etc/onlyoffice/documentserver-example

Remove the symlink to the nginx example conf

sudo rm /etc/nginx/includes/ds-example.conf

Re-register supervisor (without example)

sudo service supervisor restart

Restart services

sudo supervisorctl restart all

Cheers!

@tavinus
Copy link
Author

tavinus commented Dec 7, 2021

To enable...
just restore the folder and the symlink and run

sudo service supervisor restart
sudo supervisorctl restart all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment