Run postactiv daemons

This commit is contained in:
Bob Mottram 2017-04-04 10:49:09 +01:00
parent 1269193713
commit 38474b8948
1 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ function postactiv_running_script {
echo ' MY_EMAIL_ADDRESS=$ADMIN_USER@$HOSTNAME' >> /etc/cron.hourly/postactiv-daemons
echo ' echo "Restarting postactiv daemons" | mail -s "postactiv daemons not found" $MY_EMAIL_ADDRESS' >> /etc/cron.hourly/postactiv-daemons
echo " cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
echo ' #scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
echo ' scripts/startdaemons.sh' >> /etc/cron.hourly/postactiv-daemons
echo 'fi' >> /etc/cron.hourly/postactiv-daemons
echo "cd /var/www/${POSTACTIV_DOMAIN_NAME}/htdocs" >> /etc/cron.hourly/postactiv-daemons
@ -218,7 +218,7 @@ function postactiv_running_script {
echo 'php scripts/delete_orphan_files.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
echo 'php scripts/clean_thumbnails.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
echo 'php scripts/clean_file_table.php -y > /dev/null' >> /etc/cron.hourly/postactiv-daemons
echo '# php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
echo 'php scripts/upgrade.php > /dev/null' >> /etc/cron.hourly/postactiv-daemons
chmod +x /etc/cron.hourly/postactiv-daemons
}