I'm trying to set up a shiny server locally. I want to use the user_dirs option and have created a simple shiny-server.conf that is exactly like the one in the documentation. However, every time I try to start the systemd service, I get an error (that I can't find mentioned anywhere else when searching):
The user 'shiny' does not have permissions to run applications as one of the users in ':HOME_USER:'. Please restart shiny...
The manual says that shiny-server will run as root by default but will run as 'shiny' if running as root isn't needed. I'm wondering whether it is somehow getting started as 'shiny' instead of root?
As further evidence of this, I tried starting shiny-server directly (as root) by running /usr/bin/shiny-server and it worked fine, which makes me think that it is trying to run as 'shiny' instead of root when starting using systectl.
Any ideas of how to get this working correctly? I'm running this on Arch Linux.