Last active
January 24, 2016 13:08
-
-
Save koi-chan/df6f6a8212d793090022 to your computer and use it in GitHub Desktop.
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
[Unit] | |
Description=DodontoF spawn-fcgi | |
After=nginx.service | |
Wants=nginx.service | |
[Service] | |
Type=forking | |
User=nginx | |
Group=nginx | |
PIDFile=/home/nginx/dodontof.example.com/dodontof.pid | |
ExecStart=/usr/bin/spawn-fcgi -d /home/nginx/dodontof.example.com/public_html/DodontoF -f /home/nginx/dodontof.example.com/public_html/DodontoF/dodontof.rb -p 9000 -F 10 -P /home/nginx/dodontof.example.com/dodontof.pid | |
ExecReload=/bin/kill -HUP $MAINPID | |
ExecStop=/bin/kill $MAINPID | |
PrivateTmp=true | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment