From: Marcin Haba Date: Tue, 24 Mar 2015 10:12:28 +0000 (+0100) Subject: baculum: Update Lighttpd config and add systemd unit X-Git-Tag: Release-7.2.0~60 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a48211f38b0ecd45d990d50c92ba3af9a98c5983;p=bacula%2Fbacula baculum: Update Lighttpd config and add systemd unit --- diff --git a/gui/baculum/examples/rpm/baculum.lighttpd.conf b/gui/baculum/examples/rpm/baculum.lighttpd.conf index 56856d6ff9..3f3c4b4598 100644 --- a/gui/baculum/examples/rpm/baculum.lighttpd.conf +++ b/gui/baculum/examples/rpm/baculum.lighttpd.conf @@ -7,8 +7,8 @@ server.port = 9095 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 = ( diff --git a/gui/baculum/examples/rpm/baculum.service b/gui/baculum/examples/rpm/baculum.service new file mode 100644 index 0000000000..401f860429 --- /dev/null +++ b/gui/baculum/examples/rpm/baculum.service @@ -0,0 +1,11 @@ +[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 +