From: Marcin Haba Date: Tue, 16 Jun 2015 20:05:08 +0000 (+0200) Subject: baculum: Change cache and logs paths for deb packages X-Git-Tag: Release-7.2.0~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f47865a8664034809c2f34aa52fe6f0b4a65b304;p=bacula%2Fbacula baculum: Change cache and logs paths for deb packages --- diff --git a/gui/baculum/debian/baculum.links b/gui/baculum/debian/baculum.links index aa56cc61e2..c2b821f6ac 100644 --- a/gui/baculum/debian/baculum.links +++ b/gui/baculum/debian/baculum.links @@ -1,3 +1,5 @@ usr/share/javascript/excanvas/excanvas.js usr/share/baculum/htdocs/protected/JavaScript/excanvas.js etc/baculum/baculum.users usr/share/baculum/htdocs/protected/Data/baculum.users -usr/share/doc/baculum/copyright usr/share/baculum/htdocs/LICENSE \ No newline at end of file +usr/share/doc/baculum/copyright usr/share/baculum/htdocs/LICENSE +var/cache/baculum usr/share/baculum/htdocs/assets +var/cache/baculum usr/share/baculum/htdocs/protected/runtime \ No newline at end of file diff --git a/gui/baculum/debian/baculum.postinst b/gui/baculum/debian/baculum.postinst index f534378989..fee9d1b58f 100644 --- a/gui/baculum/debian/baculum.postinst +++ b/gui/baculum/debian/baculum.postinst @@ -8,6 +8,9 @@ case "$1" in chown -R www-data:www-data /usr/share/baculum/htdocs chmod 750 /etc/baculum chmod 750 /usr/share/baculum/htdocs/protected/Data + chown -R www-data:www-data /var/cache/baculum + chown www-data:www-data /var/log/baculum + chmod 750 /var/log/baculum ;; esac diff --git a/gui/baculum/debian/dirs b/gui/baculum/debian/dirs index e9ac2dbef1..27beed8d57 100644 --- a/gui/baculum/debian/dirs +++ b/gui/baculum/debian/dirs @@ -1,2 +1,4 @@ etc/baculum -usr/share/baculum/htdocs \ No newline at end of file +usr/share/baculum/htdocs +var/cache/baculum +var/log/baculum \ No newline at end of file diff --git a/gui/baculum/debian/install b/gui/baculum/debian/install index dd986d4679..035b76bd96 100644 --- a/gui/baculum/debian/install +++ b/gui/baculum/debian/install @@ -1,6 +1,5 @@ .htaccess /usr/share/baculum/htdocs/ AUTHORS /usr/share/baculum/htdocs/ -assets /usr/share/baculum/htdocs/ framework /usr/share/baculum/htdocs/ index.php /usr/share/baculum/htdocs/ protected /usr/share/baculum/htdocs/ diff --git a/gui/baculum/examples/deb/baculum.lighttpd.conf b/gui/baculum/examples/deb/baculum.lighttpd.conf index b21d49dada..ef4e5501f6 100644 --- a/gui/baculum/examples/deb/baculum.lighttpd.conf +++ b/gui/baculum/examples/deb/baculum.lighttpd.conf @@ -7,8 +7,8 @@ server.port = 9095 server.username = "www-data" server.groupname = "www-data" 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 = (