Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/spawn_fcgi/files/spawn-fcgi.service

Issue 29502643: #2498 - Provide systemd unit for spawn-fcgi (Closed) Base URL: https://hg1/infrastructure
Patch Set: Created Aug. 1, 2017, 3:46 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/spawn_fcgi/manifests/init.pp » ('j') | modules/spawn_fcgi/manifests/init.pp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/spawn_fcgi/files/spawn-fcgi.service
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/spawn_fcgi/files/spawn-fcgi.service
@@ -0,0 +1,20 @@
+[Unit]
mathias 2017/08/01 22:21:18 Where does the content of this file come from? How
f.nicolaisen 2017/08/02 07:51:48 This is explained in the commit message, but I can
+SourcePath=/etc/init.d/spawn-fcgi
+Description=LSB: initscript to manage a pool of workers configured in $POOL_DIR
+Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target
+After=remote-fs.target systemd-journald-dev-log.socket
+Conflicts=shutdown.target
+
+[Service]
+Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
+SysVStartPriority=2
+ExecStart=/etc/init.d/spawn-fcgi start
+ExecStop=/etc/init.d/spawn-fcgi stop
+ExecReload=/etc/init.d/spawn-fcgi reload
+
« no previous file with comments | « no previous file | modules/spawn_fcgi/manifests/init.pp » ('j') | modules/spawn_fcgi/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld