I need to give permission to a user to start, stop and restart Rstudio's shiny-server.
Right now, I have been managing the service upon this user's request with sudo service restart shiny-server, but now I want the user to manage this.
My first approach to this problem is to edit the /etc/sudoers. But I realized I have no idea what the full path of shiny-server is, so I have no idea what to put in the /etc/sudoers file. I would have hoped to find it in /etc/init.d/, but that isn't the case.
Does anyone have experience with this or a work-around?
I'm currently running Ubuntu 16.04.5 LTS (Xenial Xerus) on this server.
The version of R is 3.4.1 and it was compiled from source.