Permalink
Browse files

Tweak create-doc-builder-vm.txt

  • Loading branch information...
igfoo committed Aug 16, 2012
1 parent 73a810e commit 40ac324d21bd0c38fbcc59f6d5dd77e4c0288f11
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/create-doc-builder-vm.txt
@@ -127,7 +127,7 @@ ssh hackage-docs@192.168.142.2
mkdir hackage-docs
cd hackage-docs
hackage-build init http://192.168.142.1:8080/
- sed -e "s#@PIDFILE@#$HOME/hackage-docs/hd.pid#" -e "s#@HACKAGEBUILD@#$HOME/.cabal/bin/hackage-build#" -e "s#@DIRECTORY@#$HOME/hackage-docs#" -e "s#@EXTRA@#export PATH=$HOME/.cabal/bin:\$PATH#" < ../downloads/hackage-server/docs/run-doc-builder.sh.example > run-doc-builder.sh
+ sed -e "s#@PIDFILE@#$HOME/hackage-docs/hd.pid#" -e "s#@HACKAGEBUILD@#$HOME/.cabal/bin/hackage-build#" -e "s#@DIRECTORY@#$HOME/hackage-docs#" -e "s#@EXTRA@#export PATH=$HOME/local/ghc-7.4.2/bin:$HOME/.cabal/bin:\$PATH#" < ../downloads/hackage-server/docs/run-doc-builder.sh.example > run-doc-builder.sh
chmod +x run-doc-builder.sh
echo '*/5 * * * * '"$HOME/hackage-docs/run-doc-builder.sh" | crontab -

0 comments on commit 40ac324

Please sign in to comment.