How to disable the useless 'service' (insights, analytics api)

Version : Juniper Native Install ,

As the title , How to disable the services such as 'insights ', ‘analytics’ , to prevent these services would not ‘work’ after system reboot? (Not remove)

@guangyaw, if you want to disable these services at installation time, you can add the following ansible variables to your config.yml.

SANDBOX_ENABLE_ANALYTICS_API: false
SANDBOX_ENABLE_INSIGHTS: false

If you want to disable a service after installation, the supervisor configuration files for various services including the one that you have mentioned should be present under the /edx/app/supervisor/conf.d directory and you can rename/move/delete those files to effectively disable them.

1 Like