https://bugzilla.redhat.com/show_bug.cgi?id=1075806
--- Comment #18 from Juan Orti <j.orti.alcaine(a)gmail.com> ---
I have no SELinux problems with the units shown below, just write the socket to
/run/nginx or elsewhere already covered by the policy.
Anyway, I agree that we should patch the provided units to work out of the box.
# /etc/systemd/system/gitweb.socket
[Unit]
Description=GitWeb socket
[Socket]
SocketMode=0600
SocketUser=nginx
SocketGroup=nginx
ListenStream=/run/nginx/gitweb.sock
[Install]
WantedBy=sockets.target
# /etc/systemd/system/gitweb.service
[Unit]
Description=GitWeb service
[Service]
ExecStart=/usr/sbin/fcgiwrap
User=apache
Group=apache
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component