none
Start and Stop Services programmatically? RRS feed

  • Question

  • I know I can use mrsadmin to start and stop services on my one-box configuration.

    Is there a way to do this programmatically?  I'm scripting our developer workstation setup, and I need to stop these services before installing updated R libraries.  

    I'd like our setup to be fully automated/scripted, so that our devs don't need to start and stop services manually.

    Thanks, Andrew Brown

    Friday, June 9, 2017 12:37 PM

All replies

  • For Linux, you can use the autoStartsScriptsLinux folder to create a webnode, rserver, computenode service. Here is the code : https://github.com/Microsoft/microsoft-r/blob/master/rserver-arm-templates/hdinsight/Configure-OneBox.sh

    For Windows, you can use IIS modules. 

    Friday, June 9, 2017 6:16 PM