On Fri, Jan 25, 2013 at 9:16 AM, Reindl Harald <h.rei...@thelounge.net> wrote: > > > Am 25.01.2013 18:14, schrieb Mantas Mikulėnas: >> On Fri, Jan 25, 2013 at 6:50 PM, Reindl Harald <h.rei...@thelounge.net> >> wrote: >>> Am 25.01.2013 17:42, schrieb Daniel J Walsh: >>>> How would I write a unit file to run an apache service as the user dwalsh >>>> (3267) >>> why would someone do this with systemd? >>> httpd needs to get started as root to bind the port! >> >> Not if you give it the CAP_NET_BIND_SERVICE capability. >> Also, there are many valid uses for Apache on ports above 1024 > > and what does this change in the fact that httpd has > it's own configuration options for user and group?
Users may not have root permissions in the first place? It's not a weird question, I used to do this with apache-1.3 and run it under xinetd. Auke _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel