use correct magic var in php entry scripts to hold script folder structure independent of call folder

fix php socket location in postinst script
This commit is contained in:
2020-10-26 20:59:48 +01:00
parent 635e9f009c
commit a7790b289a
5 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
ln -sf /etc/nginx/sites-available/OpenMediaCenter.conf /etc/nginx/sites-enabled/OpenMediaCenter.conf
# link general socket to current one
phpsymlink="/var/run/php-fpm.sock";
phpsymlink="/var/run/php/php-fpm.sock";
# create a gneral symlink to the php socket if not already existing
if [ -L ${phpsymlink} ] ; then