Skip to content

Commit

Permalink
Correction for php exec file in cron and daemon cron
Browse files Browse the repository at this point in the history
  • Loading branch information
PPCM committed Nov 25, 2024
1 parent fcad9da commit 1013ca3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions glpi-cron-daemon/start_glpi-cron-daemon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ sed -i "s|;date.timezone =|date.timezone=${TZ}|" /etc/php83/php.ini
# Modify default cookie_httponly value for security purpose
sed -i "s|session.cookie_httponly =|session.cookie_httponly = 1|" /etc/php83/php.ini

# Create a symbolik link to php
ln -s /usr/bin/php83 /usr/bin/php

# Waiting for the installation to be done
echo `date` " - Waiting GLPI to be installed from ppcm/glpi-server"
done_file='/etc/glpi/.installation_done'
Expand Down
3 changes: 3 additions & 0 deletions glpi-cron/start_glpi-cron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ sed -i "s|;date.timezone =|date.timezone=${TZ}|" /etc/php83/php.ini
# Modify default cookie_httponly value for security purpose
sed -i "s|session.cookie_httponly =|session.cookie_httponly = 1|" /etc/php83/php.ini

# Create a symbolik link to php
ln -s /usr/bin/php83 /usr/bin/php

# Waiting for the installation to be done
echo `date` " - Waiting GLPI to be installed from ppcm/glpi-server"
done_file='/etc/glpi/.installation_done'
Expand Down

0 comments on commit 1013ca3

Please sign in to comment.