Created
February 12, 2012 20:25
-
-
Save fracek/1810709 to your computer and use it in GitHub Desktop.
rc.d scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # Spawn a php-fcgi using spawn-fcgi | |
| daemon="/usr/local/bin/spawn-fcgi" | |
| . /etc/rc.d/rc.subr | |
| pexp="/usr/local/bin/php-fastcgi-5.2" | |
| rc_bg=NO | |
| daemon_flags="-a 127.0.0.1 -p 9000 -u www -g www -- /usr/local/bin/php-fastcgi-5.2" | |
| rc_cmd $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment