[Bug 1075806] Review Request: fcgiwrap - Simple FastCGI wrapper for CGI scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #10 from Justin Zhang <schnell18@xxxxxxxxx> ---
Hi Sebastian,
  The spawn-fcgi is no longer necessary on Fedora. The systemd socket
activation is a good replacement for spawn-fcgi. The upstream already has the
right unit files included under the systemd sub directory. You need package
these files to make it included in the RPM.
The upstream build script already copes the unit files into %{build root}. You
can package simply by list them in the %file like:

    %{_unitdir}/*.service
    %{_unitdir}/*.socket

  Regarding the user to run fcgiwrap, the default user is 'http' from upstream.
Probably 'nobody' is a better choice as it is a pre-defined user on Fedora. But
I think the administrators is in better position to determine the right user to
run fcgiwrap. And they can customize it by coping the
/lib/systemd/system/fcgiwrap.service to /etc/systemd/system/ and changing
"User" and "Group" as they see fit.

My personal experience is to run fcgiwrap using 'git' on a server that hosts
our company's Git repositories. This significantly simplifies the permission
setup of Git repository.

-- 
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
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]