add rc.local for deployment

workspace
Brendan Howell 8 years ago
parent be23c04af8
commit b6fec0c430

@ -0,0 +1,17 @@
#!/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.
#
# start The Screenless Office
cd /home/mute/the-screenless-office
source env-screenless/bin/activate
cd screenless
nohup python mgmt.py &
exit 0
Loading…
Cancel
Save