Edgewall Software

Changes between Version 22 and Version 23 of 0.11/TracInstall


Ignore:
Timestamp:
Oct 31, 2010, 4:52:34 PM (13 years ago)
Author:
Bram Mertens
Comment:

instructions for SELinux context for SVN hooks

Legend:

Unmodified
Added
Removed
Modified
  • 0.11/TracInstall

    v22 v23  
    230230}}}
    231231
     232If you are using SELinux make sure to set the file context to ''httpd_sys_script_exec_t'' and to set the booleans ''httpd_builtin_scripting'' and ''httpd_enable_cgi''
     233
     234{{{
     235$ sudo setsebool -P httpd_builtin_scripting=1
     236$ sudo setsebool -P httpd_enable_cgi=1
     237$ sudo semanage fcontext -a -t httpd_sys_script_exec_t  /path/to/svn/repository/hooks/post-commit
     238$ sudo restorecon -Rv /path/to/svn/repository/hooks/
     239}}}
     240
    232241Next open it in any text editor and add a line with path to the Trac environment connected with this SVN repository and another line executing the ''trac-post-commit-hook'' script:
    233242