]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Change cache and logs paths for deb packages
authorMarcin Haba <marcin.haba@bacula.pl>
Tue, 16 Jun 2015 20:05:08 +0000 (22:05 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Tue, 16 Jun 2015 20:06:39 +0000 (22:06 +0200)
gui/baculum/debian/baculum.links
gui/baculum/debian/baculum.postinst
gui/baculum/debian/dirs
gui/baculum/debian/install
gui/baculum/examples/deb/baculum.lighttpd.conf

index aa56cc61e2738f2eb3ebc0614434fa0b7579b078..c2b821f6ac127d0315c918228429336e3e95c207 100644 (file)
@@ -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
index f53437898910b0c1280f0cf40cc5f458140d0664..fee9d1b58f700257d25dbc007313102f63d86fb8 100644 (file)
@@ -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
 
index e9ac2dbef13c58ab756b70bbdb9f4aa81ebd6901..27beed8d5779f33d4f674f19f80f6968969ce90b 100644 (file)
@@ -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
index dd986d4679278664a3d08605ba75f4e1b57b7668..035b76bd9654953de7722a0db11dc942ffe92307 100644 (file)
@@ -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/
index b21d49dada49917eca71f9d5362f5977990f6461..ef4e5501f67651983c45b29f643e1af67f7a1013 100644 (file)
@@ -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 = (