Created
February 12, 2013 19:01
-
-
Save schu/4772355 to your computer and use it in GitHub Desktop.
This file contains 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
$ cat /etc/systemd/system/fcgiwrap.service | |
[Unit] | |
Description=fcgiwrap Server | |
After=nss-user-lookup.target | |
[Service] | |
ExecStart=/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9001 -u http -g http -- /usr/sbin/fcgiwrap | |
ExecStartPost=/usr/bin/chmod 660 /run/fcgiwrap.sock | |
Restart=on-failure | |
Type=forking | |
[Install] | |
WantedBy=multi-user.target | |
$ cat /etc/systemd/system/fcgiwrap.socket | |
[Unit] | |
Description=fcgiwrap Socket | |
[Socket] | |
ListenStream=/run/fcgiwrap.sock | |
[Install] | |
WantedBy=sockets.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment