server.username = "lighttpd"
server.groupname = "lighttpd"
server.document-root = "/usr/share/baculum/htdocs"
-server.errorlog = "/usr/share/baculum/htdocs/protected/logs/baculum-error.log"
-accesslog.filename = "/usr/share/baculum/htdocs/protected/logs/baculum-access.log"
+server.errorlog = "/var/log/baculum/baculum-error.log"
+accesslog.filename = "/var/log/baculum/baculum-access.log"
server.pid-file = "/var/run/baculum.pid"
server.modules = (
--- /dev/null
+[Unit]
+Description=Baculum WebGUI Bacula Community tool
+After=network.target
+
+[Service]
+PIDFile=/var/run/baculum.pid
+ExecStart=/usr/sbin/lighttpd -f /etc/baculum/baculum.lighttpd.conf
+
+[Install]
+WantedBy=multi-user.target
+