Files
TeraHz/etcs/rc.local
Kristjan Komlosi 8f38cf62ac Documentation
2019-06-22 22:58:21 +02:00

20 lines
403 B
Bash

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
# Print the IP address
cd /home/pi/TeraHz/backend
service lighttpd start
flask run -h 0.0.0.0 &
exit 0