# HG changeset patch # User Steve Losh # Date 1579137450 18000 # Node ID 6e42b52f56ecac7f549e2817dbdab21ed8657053 # Parent f402fd0f036be4be045a71f72e49d0ae55c2d97a Get ready to deploy 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