have snapp utilize a detached screen call "snapp".

pull/2/head
necro-nemesis 5 years ago
parent 38f8ebf703
commit 2888a27e9e

@ -7,9 +7,10 @@ Hello Lokinet. Glad you've made it!
You are viewing the setup page of SNApp-PI-HOST available free here: <a href="https://github.com/necro-nemesis/SNApp-Pi-Host">Github</a>
Your webpages can replace the current index.html file in the /home/$USER/snapp dirctory.
Simply stop the server with Ctrl C and you can add your webpage files to the directory.
Simply stop the server with openning the detached screen with "screen -r snapp" then "Ctrl C".
You can then add your webpage files to this directory.
To restart the SNapp server navigate to that folder and enter "sudo ./snapp.sh" and the
server will restart.
server will restart in a detached screen called "snapp".
If you find this helpful please donate.

@ -1,2 +1,2 @@
#!/usr/bin/env bash
python3 -m http.server --bind localhost.loki 80
screen -S snapp -d -m python3 -m http.server --bind localhost.loki 80 --directory /tmp/

Loading…
Cancel
Save