https://bugzilla.redhat.com/show_bug.cgi?id=1075806



--- Comment #18 from Juan Orti <[email protected]> ---
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
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to