On 4/20/2022 1:09 PM, Alessio Igor Bogani wrote:
# ExecStart=/usr/bin/Starter %H
ExecStart=/bin/sh -c 'sleep 1; exec /usr/bin/Starter `hostname`'
Is there a significant advantage to using the systemd macro over the
backtick operator applied to the hostname program? Is the overhead of a
spawne
Il giorno mer 20 apr 2022 alle 22:43:01 +02:00:00, Lennart Poettering
ha scritto:
Yes, use User=www-data + Group=www-data.
And then use the "!" modifier in ExecStart= to tell systemd that even
though the specified User=/Group= are the ones used by the service it
should leave set setuid() call t
On Do, 21.04.22 06:36, Mantas Mikulėnas (graw...@gmail.com) wrote:
> > That said, are you sure you need to run the nginx binary as root? My
> > suspicion is that it would be much nixer if nginx would be fixed to
> > just be able to be invoked unprivileged (or at worst, with some very
> > limited a