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: Improve syntax and ensure parent dirs are present. Comment unit file Created Aug. 2, 2017, 10:34 a.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') | no next file with comments »
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,23 @@
+# Copy of the automatically generated unit after running
+# systemctl enable spawn-fcgi on debian 8.8/systemd 215
+
+[Unit]
+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') | no next file with comments »

Powered by Google App Engine
This is Rietveld