Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why doesn’t caddy like user http in its init script?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 205

PostPosted: Mon Mar 10, 2025 8:39 pm    Post subject: Why doesn’t caddy like user http in its init script? Reply with quote

I had to build my own caddy executable as the supplied one doesn't come with an option to handle cloudflare wildcard dns certificate download. However, it should be identical otherwise to the supplied executable.

However, when it runs from its init script, it runs as the http user:

Code:
command_user="${command_user:-"http:http"}"


This doesn't work. It starts, attempts to get a cert, and then promptly gives up.

Only changing the user to root:

Code:
command_user="${command_user:-"root:root"}"


allows it to work.

Why might this be?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum