diff options
Diffstat (limited to 'pcr/gitweb/gitweb.install')
-rw-r--r-- | pcr/gitweb/gitweb.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/gitweb/gitweb.install b/pcr/gitweb/gitweb.install new file mode 100644 index 000000000..c7eb0af2a --- /dev/null +++ b/pcr/gitweb/gitweb.install @@ -0,0 +1,23 @@ +post_install() { + cat << EOF +==> To run GitWeb, you must add the lines in "/etc/httpd/conf/httpd.conf": +==> "# GitWeb" +==> "Include /etc/httpd/conf/extra/httpd-gitweb.conf" +==> Then restart or run the Apache server: +==> "systemctl restart httpd" +==> or +==> "systemctl start httpd" and "systemctl enable httpd" +EOF +} + +post_remove() { + cat << EOF +==> To clean Apache server, remove the lines in /etc/httpd/conf/httpd.conf: +==> "# GitWeb" +==> "Include /etc/httpd/conf/extra/httpd-gitweb.conf" +==> Then restart or stop the Apache server: +==> "systemctl restart httpd" +==> or +==> "systemctl stop httpd" and "systemctl disable httpd" +EOF +} |