|  | 
 |  | 
 | 
												
													
														| 208 |  }
 | 208 |  }
 | 
												
													
														| 209 |  
 | 209 |  
 | 
												
													
														| 210 |  function gnusocial_running_script {
 | 210 |  function gnusocial_running_script {
 | 
												
													
														| 211 | -    if [[ $(is_completed "install_gnusocial") == "0" ]]; then
 |  | 
 | 
												
													
														| 212 | -        return
 |  | 
 | 
												
													
														| 213 | -    fi
 |  | 
 | 
												
													
														| 214 | -
 |  | 
 | 
												
													
														| 215 |      # check that the daemon is running
 | 211 |      # check that the daemon is running
 | 
												
													
														| 216 |      echo '#!/bin/bash' > /etc/cron.hourly/gnusocial-daemons
 | 212 |      echo '#!/bin/bash' > /etc/cron.hourly/gnusocial-daemons
 | 
												
													
														| 217 |      echo 'daemon_lines=$(ps aux | grep "scripts/queuedaemon.php" | grep "/var/www")' >> /etc/cron.hourly/gnusocial-daemons
 | 213 |      echo 'daemon_lines=$(ps aux | grep "scripts/queuedaemon.php" | grep "/var/www")' >> /etc/cron.hourly/gnusocial-daemons
 |