From f4b6b3b7bb2be6ec8aa6b694d9ff39a774f01da7 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 11 Feb 2021 14:21:24 +0100 Subject: Fix default config file to deliver default web page --- debian/README.Debian | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'debian/README.Debian') 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 ------- -- cgit v1.2.3