14
[Weekly thread] GNU+Linux help: ask anything!
(programming.dev)
A community for everything relating to the linux operating system
Also check out !linux_memes@programming.dev
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
What is the best way to have caddy run at boot with env file, without running as root?
the default systemd service will run caddy as the caddy user i think
otherwise you can choose any user to run a systemd system service
Create a user, and then a systemd unit for it, under ~/.config/systemd/user/ with contents like these:
Adjust the paths in the arguments. It will require systemctl daemon-reload for such unit to be available for enabling and starting it...