Changes between Version 22 and Version 23 of 0.11/TracInstall
- Timestamp:
- Oct 31, 2010, 4:52:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
0.11/TracInstall
v22 v23 230 230 }}} 231 231 232 If 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 232 241 Next 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: 233 242