6e42b52f56ec

Get ready to deploy
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 15 Jan 2020 20:17:30 -0500
parents f402fd0f036b
children 4b3cb867d109
branches/tags (none)
files dev.conf hg.service hgweb.conf

Changes

diff -r f402fd0f036b -r 6e42b52f56ec dev.conf
--- a/dev.conf	Wed Jan 15 20:15:24 2020 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,8 +0,0 @@
-[paths]
-/ = /home/sjl/repos/*
-
-[web]
-style = sjl
-templates = /home/sjl/templates/
-
-[extensions]
diff -r f402fd0f036b -r 6e42b52f56ec hg.service
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hg.service	Wed Jan 15 20:17:30 2020 -0500
@@ -0,0 +1,13 @@
+#/etc/systemd/system/hg.service
+[Unit] 
+Description=Mercurial Hosting 
+ 
+[Service] 
+Type=simple 
+WorkingDirectory=/home/sjl 
+ExecStart=/home/sjl/hg/hg serve --web-conf /home/sjl/hg.stevelosh.com/hgweb.conf 
+User=sjl 
+Group=sjl 
+ 
+[Install] 
+WantedBy=multi-user.target 
diff -r f402fd0f036b -r 6e42b52f56ec hgweb.conf
--- a/hgweb.conf	Wed Jan 15 20:15:24 2020 -0500
+++ b/hgweb.conf	Wed Jan 15 20:17:30 2020 -0500
@@ -3,9 +3,9 @@
 
 [web]
 style = sjl
-templates = /home/sjl/templates/
-cache = False
+templates = /home/sjl/hg.stevelosh.com/templates/
+cache = True
 
 [extensions]
-hgext.readme = /home/sjl/src/hgext.readme
+hgext.readme = /home/sjl/hgext/hgext.readme