diff options
author | Roland Reichwein <mail@reichwein.it> | 2021-02-11 14:21:24 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2021-02-11 14:21:24 +0100 |
commit | f4b6b3b7bb2be6ec8aa6b694d9ff39a774f01da7 (patch) | |
tree | c357981c6a5dac668b084c1fd1af0e8b3e3d9137 /debian/README.Debian | |
parent | a22c8c9c430505bdf951e3fd5ebb31485db729a0 (diff) |
Fix default config file to deliver default web page
Diffstat (limited to 'debian/README.Debian')
-rw-r--r-- | debian/README.Debian | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/README.Debian b/debian/README.Debian index 35011f3..6150bff 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -4,6 +4,40 @@ webserver for Debian This package is the Debian version of webserver. +Setup and Configuration +----------------------- + +The default configuration in Debian contains an example configuration file in +/etc/webserver.conf and serves an example html page from +/usr/lib/webserver/example and an example webbox from +/var/lib/webserver/webbox. You need to replace the latter for a writable +location to get a writable webbox). + +For initial startup, do the following: + +* Edit /etc/webserver.conf + +* Enable in Debian: + + # systemctl enable webserver.service + +* Start: + + # systemctl start webserver + +For debugging purposes, do the following: + +* Query Status: + + # systemctl status webserver + + or observe /var/log/syslog + +To finally disable the service if you don't need it anymore: + + # systemctl disable webserver.service + + Contact ------- |