patch-docs_README_OpenBSD 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $OpenBSD: patch-docs_README_OpenBSD,v 1.2 2015/07/18 21:05:38 ajacoutot Exp $
  2. --- docs/README.OpenBSD.orig Sun Nov 30 06:29:12 2008
  3. +++ docs/README.OpenBSD Sat Jul 18 23:03:22 2015
  4. @@ -8,17 +8,17 @@ To finish installing Hatchet, the following steps must
  5. 1) Install mod_perl (www/mod_perl) and enable the module
  6. - $ sudo mod_perl-enable
  7. + # mod_perl-enable
  8. 2) Add an entry in httpd.conf and restart httpd. Example:
  9. <VirtualHost _default_:80>
  10. - DocumentRoot /var/www/hatchet
  11. + DocumentRoot ${PREFIX}/hatchet
  12. PerlModule Apache::PerlRun
  13. <Location /cgi/>
  14. SetHandler perl-script
  15. PerlHandler Apache::PerlRun
  16. - PerlRequire /var/www/hatchet/cgi/startup.pl
  17. + PerlRequire ${PREFIX}/hatchet/cgi/startup.pl
  18. Options ExecCGI
  19. PerlSendHeader On
  20. allow from all
  21. @@ -27,13 +27,12 @@ To finish installing Hatchet, the following steps must
  22. 3) Create the database
  23. - $ cd /var/www/hatchet/sbin/
  24. - $ sudo ./hatchet_mkdb
  25. + # cd ${PREFIX}/hatchet/sbin/
  26. + # ./hatchet_mkdb
  27. -4) Add the following lines in crontab. If done as a non-root user,
  28. - make sure to use sudo.
  29. +4) Add the following lines to root's crontab.
  30. - 14,29,44,59 * * * * sudo /var/www/hatchet/sbin/hatchet
  31. - 19,34,49,04 * * * * sudo /var/www/hatchet/sbin/hatchart
  32. + 14,29,44,59 * * * * ${PREFIX}/hatchet/sbin/hatchet
  33. + 19,34,49,04 * * * * ${PREFIX}/hatchet/sbin/hatchart