Browse Source

Run postactiv daemons

Bob Mottram 8 years ago
parent
commit
38474b8948
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/freedombone-app-postactiv

+ 2
- 2
src/freedombone-app-postactiv View File

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