[istsos] 01/01: Move logdir outside /usr/share

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Fri Jul 17 12:16:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch patch-queue/master
in repository istsos.

commit 898fa542e4620215ce4ea6b4f9d05b7a977494ac
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date:   Tue Oct 21 17:40:11 2014 +0200

    Move logdir outside /usr/share
---
 config.py       | 2 +-
 debian/postinst | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/config.py b/config.py
index 859a79f..f62af34 100755
--- a/config.py
+++ b/config.py
@@ -19,7 +19,7 @@ from os import path
 services_path = path.join(path.dirname(path.abspath(__file__)), "services")
 istsoslib_path = path.join(path.dirname(path.abspath(__file__)), "istsoslib")
 istsoswalib_path = path.join(path.dirname(path.abspath(__file__)), "walib")
-errorlog_path = path.join(path.dirname(path.abspath(__file__)), "logs")
+errorlog_path = "/var/log/istsos"
 errorlog_level = "INFO"
 debug=False
 #==================================================================================
diff --git a/debian/postinst b/debian/postinst
index 7c11d68..2e88e81 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,4 +1,3 @@
-chown -R www-data:www-data /usr/share/istsos/logs
 chown -R www-data:www-data /usr/share/istsos/services
 
 a2ensite istsos

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/istsos.git



More information about the Pkg-grass-devel mailing list