etc edits
This commit is contained in:
19
etcs/rc.local
Normal file
19
etcs/rc.local
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/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/terahz/TeraHz/backend
|
||||
service lighttpd start
|
||||
flask run -h 0.0.0.0 &
|
||||
exit 0
|
||||
Reference in New Issue
Block a user