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

Unified Diff: modules/hgweb/files/hgweb.service

Issue 29370651: Issue 3065 - Make hgweb work with jessie (Closed)
Patch Set: Fix file uploaded by mistake Created Jan. 4, 2017, 5:15 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/hgweb/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/hgweb/files/hgweb.service
===================================================================
new file mode 100644
--- /dev/null
+++ b/modules/hgweb/files/hgweb.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=hgwebdir
+Wants=nginx.service
+Before=nginx.service
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/spawn-fcgi -s /var/run/hgweb.sock -u www-data -P /var/run/hgweb.pid -- /opt/hgweb.fcgi
+PIDFile=/var/run/hgweb.pid
+
+[Install]
+WantedBy=multi-user.target
+
« no previous file with comments | « no previous file | modules/hgweb/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld