Additional examples of config when running as service
What is your suggestion?
Include additional config examples of the yaml when running as a service
How will this improve the docs?
Makes it easier to run the coder server as a service without relying on a terminal
Are you interested in submitting a PR for this?
I wish I knew enough to be able to do so.
What am I struggling with?
With the existing config.yaml as a service, I am unable to remove the password based auth so my ODIC can take over as primary auth , instead navigating to the IP:port brings up a password prompt that can not be removed or modified.
Could you expand on why you are not able to edit the config.yaml? It will be located in /home/$USER/.config/code-server where $USER depends on how you launched the service. Normally you would either change the auth line to none in the config or you would add --auth none to your service.
Could you expand on why you are not able to edit the config.yaml? It will be located in
/home/$USER/.config/code-serverwhere$USERdepends on how you launched the service. Normally you would either change theauthline tononein the config or you would add--auth noneto your service.
Sorry I missed this. I was attempting to run Coder server as a service, I had initially configured it based on the docs but had to be run manually as the user logged in etc. When I attempted to take my config as a user and configure it for a service or service account it would fail to run/
I will see what log files I can gather, I did get Coder Server running but in docker which wasn't my first choice.
Sounds good. Let us also know what exactly you ran. I assume something like this:
sed -i.bak 's/auth: password/auth: none/' ~/.config/code-server/config.yaml
sudo systemctl restart code-server@$USER