Commit 4e88d416 authored by Andrey Filippov's avatar Andrey Filippov

modified to use a single lighttpd.conf (/etc/lighttpd/lighttpd.conf, removed /etc/lighttpd.conf)

parent a363332b
...@@ -157,7 +157,7 @@ def init_imgsrv(port): ...@@ -157,7 +157,7 @@ def init_imgsrv(port):
''' '''
shout("imgsrv -p "+str(port)) shout("imgsrv -p "+str(port))
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail #restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
shout("killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf") shout("killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf")
shout("/www/pages/exif.php init=/etc/Exif_template.xml") shout("/www/pages/exif.php init=/etc/Exif_template.xml")
def init_autoexp_daemon(index): def init_autoexp_daemon(index):
...@@ -243,7 +243,8 @@ def start_gps_compass(): ...@@ -243,7 +243,8 @@ def start_gps_compass():
return return
else: else:
log_msg ("Done waiting for the FPGA", 4) log_msg ("Done waiting for the FPGA", 4)
shout("start_gps_compass.php") # shout("start_gps_compass.php")
shout("start_ims.php")
def disable_gpio_10389(): def disable_gpio_10389():
''' '''
......
...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis ...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo imgsrv -p 2323 echo imgsrv -p 2323
imgsrv -p 2323 imgsrv -p 2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail #restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
/www/pages/exif.php init=/etc/Exif_template.xml /www/pages/exif.php init=/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds" #echo "TURN 10359 power in the next 10 seconds"
#sleep 10 #sleep 10
......
...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis ...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo imgsrv -p 2323 echo imgsrv -p 2323
imgsrv -p 2323 imgsrv -p 2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail #restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
/www/pages/exif.php init=/etc/Exif_template.xml /www/pages/exif.php init=/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds" #echo "TURN 10359 power in the next 10 seconds"
#sleep 10 #sleep 10
......
...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis ...@@ -31,7 +31,7 @@ $PYDIR/test_mcntrl.py @${VERILOG_DIR}/hargs-eyesis
echo imgsrv -p 2323 echo imgsrv -p 2323
imgsrv -p 2323 imgsrv -p 2323
#restart PHP - it can get errors while opening/mmaping at startup, then some functions fail #restart PHP - it can get errors while opening/mmaping at startup, then some functions fail
killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd.conf killall lighttpd; /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
/www/pages/exif.php init=/etc/Exif_template.xml /www/pages/exif.php init=/etc/Exif_template.xml
#echo "TURN 10359 power in the next 10 seconds" #echo "TURN 10359 power in the next 10 seconds"
#sleep 10 #sleep 10
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment