9 More Discussions You Might Find Interesting
1. Proxy Server
Yesterday I was asked to set up an FTP server so that an external group (external to my office and the company) will be able to drop files off for some of our developers.
Right now we have a single CentOS box in our DMZ which runs a Windows server 2012 VM as our webserver.
Any suggestions as... (5 Replies)
Discussion started by: xdawg
5 Replies
2. BSD
Is freeBSD a good choice for new Unix machine? I want to get back into Unix / Linux. System would be used for light scripting and file server needs. Something with nice software or hardware raid support would be good. If it could support virtual machines, kind of like VMWare's ESX that would be... (5 Replies)
Discussion started by: grips03
5 Replies
3. Shell Programming and Scripting
Hi All..
Am new to Unix!!
Am creating a shell script in which a scenario is like i have transfer the output file from unix machine (Server) to local directory (Windows xp).
And also i have to transfer the input file from the local directory to Unix machine (Server)
Any help from you... (1 Reply)
Discussion started by: vidhyaS
1 Replies
4. Solaris
Hello,
I have recently completed my training for Solaris 10 and have a good understanding of the bases now. I am playing around with my system but can't do much since my knowledge is limited. I am looking for some projects or some threads where I can learn more and expand my knowledge step by... (16 Replies)
Discussion started by: saudsos
16 Replies
5. UNIX for Dummies Questions & Answers
Firstly I do need to state that I am turning here as a last resort. Im in my first year of a Computer Networking and technical support course, and as a first year I must complete a Introductory Unix/Linux class. I have been doing well in the course so far however I have been stumped on the final... (1 Reply)
Discussion started by: setaylor5
1 Replies
6. UNIX for Dummies Questions & Answers
I originally sent this as a PM to Neo, but I was ignorant towards the rule of PMing someone with technical information. Below is a copy / paste of the questions I asked. If anyone can help, I'd appreciate it tons. Thank you! :D
The first OS I ever encountered was DOS and Windows 3.1. Ever since... (1 Reply)
Discussion started by: ZeeSquared
1 Replies
7. UNIX for Dummies Questions & Answers
I learned Unix about 6 years ago, I think it was the System V version back then.
My course taught me, Unix commands, shell scripting, Vi editor, and probably more stuff.
I wanted to stick with Unix but life didn't allow me to, my college back then used Windows 95 and then my job as a... (8 Replies)
Discussion started by: thoughts
8 Replies
8. UNIX Desktop Questions & Answers
I am a long-time Windows NT, 2000 user at home and work. I want to learn Unix to broaden myself. What flavor do you recommend and how do you recommend practicing with it at home? how to get a copy of it to practice with? (1 Reply)
Discussion started by: robmaxfli
1 Replies
9. UNIX for Dummies Questions & Answers
I have 6 extra hard drives and want to install them in my boxes and run UNIX, LINUX andyes M$ Winblows. How do I make it so i have the choice of which HD to boot from? Also, which UNIX distribution should i run to get aquainted with it, and wheres the best place to get it? Thank you very much if... (5 Replies)
Discussion started by: r1sk
5 Replies
spawn-fcgi(1) General Commands Manual spawn-fcgi(1)
NAME
spawn-fcgi - Spawns FastCGI processes
SYNOPSIS
spawn-fcgi [options] [ -- <fcgiapp> [fcgi app arguments]]
spawn-fcgi -v
spawn-fcgi -h
DESCRIPTION
spawn-fcgi is used to spawn remote and local FastCGI processes.
While it is obviously needed to spawn remote FastCGI backends (the web server can only spawn local ones), it is recommended to spawn local
backends with spawn-fcgi, too.
Reasons why you may want to use spawn-fcgi instead of something else:
* Privilege separation without needing a suid-binary or running a server as root.
* You can restart your web server and the FastCGI applications without restarting the others.
* You can run them in different chroot()s.
* Running your FastCGI applications doesn't depend on the web server you are running, which allows for easier testing of other web
servers.
OPTIONS
spawn-fcgi accepts the following options:
-f <path>
Filename of the FastCGI application to spawn. This option is deprecated and it is recommend to always specify the application
(absolute path) and its parameters after "--"; the fcgiapp parameter is directly used for the exec() call, while for starting the
binary given with -f /bin/sh is needed (which may not be available in a chroot).
This option is ignored if fcgiapp is given.
-d <path>
Change the current directory before spawning the application.
-a <address>
IPv4/IPv6 address to bind to; only used if -p is given too. Defaults to "0.0.0.0" (IPv4).
-p <port>
TCP port to bind to; you cannot combine this with the -s option.
-s <path>
Path to the Unix domain socket to bind to; you cannot combine this with the -p option.
-C <children>
(PHP only) Number of children to spawn by setting the PHP_FCGI_CHILDREN environment variable. Default is not to overwrite the envi-
ronment variable; php will spawn no children if the variable is not set (same as setting it to 0).
-F <children>
Number of children to fork, defaults to 1. This option doesn't work with -n, have a look at multiwatch(1) if you want to supervise
multiple forks on the same socket.
-P <path>
Name of the PID file for spawned processes (ignored in no-fork mode)
-n No forking should take place (for daemontools)
-M <mode>
Change file mode of the Unix domain socket; only used if -s is given too.
-?, -h General usage instructions
-v Shows version information and exits
The following options are only available if you invoke spawn-fcgi as root:
-c <directory>
Chroot to specified directory; the Unix domain socket is created inside the chroot unless -S is given.
-S Create Unix domain socket before chroot().
-u User ID to change to.
-g Group ID to change to. Defaults to primary group of the user given for -u.
-U Change user of the Unix domain socket, defaults to the value of -u. (only used if -s is given)
-G Change group of the Unix domain socket, defaults to the primary group of the user given for -U; if -U wasn't given, defaults to the
value of -g. (only used if -s is given)
SEE ALSO
svc(8), supervise(8), see http://cr.yp.to/daemontools.html
multiwatch(1), see http://cgit.stbuehler.de/gitosis/multiwatch/about/
26 March 2009 spawn-fcgi(1)