sed snapp start script now located in /usr/local/bin/ with user snapp folder.

pull/2/head
necro-nemesis 5 years ago
parent cd77e6eec4
commit cf4661942d

@ -141,7 +141,7 @@ function install_complete() {
exit 0
fi
install_log "Server Launching"
sed -i "s|/home/pi/snapp|/home/$username/snapp|g" /home/$username/snapp/snapp.sh
sed -i "s|/home/pi/snapp|/home/$username/snapp|g" /usr/local/bin/snapp
sudo screen -S snapp -d -m python3 -m http.server --bind localhost.loki 80 --directory $snapp_dir
exit 0 || install_error "Unable to exit"
}

Loading…
Cancel
Save