Permalink
Browse files

Create interpreter symlink for PHP

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 29, 2018
1 parent 6e1d5bb commit d10862fd02e3c5d0ffe3be39f28eb6a03060e863
Showing with 7 additions and 0 deletions.
  1. +7 −0 fixes.sh
@@ -28,6 +28,13 @@
/usr/bin/mysql -u nconf -h 127.0.0.1 -pnagiosadmin -D nconf -e "UPDATE ConfigValues SET attr_value='Default Nagios' WHERE fk_id_attr = 1;"
fi
# Make a symlink to the PHP interpreter if it doesn't exist in /usr/local/bin
if [[ ! -e /usr/local/bin/php ]]; then
if [[ -e /usr/bin/php ]]; then
ln -s /usr/bin/php /usr/local/bin/php
fi
fi
if [[ "$ver" == "1.4" ]]; then
# Fix Nagios lockfile location (was causing systemd to be unable to restart Nagios)

0 comments on commit d10862f

Please sign in to comment.