2021-05-31 Fred Gleason <fredg@paravelsystems.com>

* Added symlinks to enable CGI processing in 'debian/postinst'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-05-31 10:04:23 -04:00
parent cb4f8fe9ea
commit 2befeec14f
2 changed files with 4 additions and 0 deletions

2
debian/postinst vendored
View File

@@ -33,6 +33,8 @@ case "$1" in
/bin/systemctl restart rivendell
/bin/systemctl enable rivendell
ln -f -s ../conf-available/rd-bin.conf /etc/apache2/conf-enabled/rd-bin.conf
ln -f -s ../mods-available/cgid.conf /etc/apache2/mods-enabled/cgid.conf
ln -f -s ../mods-available/cgid.load /etc/apache2/mods-enabled/cgid.load
chown rivendell:rivendell /var/www/rd-bin/rdxport.cgi
chmod 6755 /var/www/rd-bin/rdxport.cgi
/bin/systemctl restart apache2