From f1e54576e0aa5b7b1c190609a59d98fdccc1ed3e Mon Sep 17 00:00:00 2001 From: niansa Date: Tue, 26 Dec 2017 12:09:19 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 14ca781..2e3b63a 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ An usable bash-httpserver with easy configuration and PHP. -### Installation as package (with init service) +### Installation as package 1. Build package: `cd ; curl https://raw.githubusercontent.com/niansa/simpsh-httpd/master/mkdeb.sh | bash -` 2. Install package: `sudo dpkg --install ./simpsh-httpd.deb` 3. Edit /etc/config.sh: @@ -16,10 +16,10 @@ An usable bash-httpserver with easy configuration and PHP. * `ERROR404` This is the error page 404 * `ERROR403` This is the error page 403 4. Set owner: `sudo /usr/share/simpsh-httpd/setowner.sh` -5. Restart simpsh-httpd: `sudo systemctl restart simpsh-httpd` +5. Start simpsh-httpd: `simpsh-httpd-socat -d` -### Installation (without init service) +### Installation 1. Install following packages: `bash socat dos2unix` 2. Download simpsh-httpd: @@ -39,7 +39,7 @@ An usable bash-httpserver with easy configuration and PHP. * `chmod -R a+x ~/simpsh-httpd` 5. Start simpsh-httpd: * `cd ~/simpsh-httpd` - * `./start-socat.sh` + * `./start-socat.sh -d` 6. Have fun with simpsh-httpd!