aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Marc <beberking@gmail.com>2012-05-05 18:08:27 +0200
committerBertrand Marc <beberking@gmail.com>2012-05-05 18:08:27 +0200
commit81f5c6f157d366be33aef2f1663c383415a5afc6 (patch)
treebf5233f33ef6f7a7d6e963dc396206d4e8e8e691
parent2d3dbb8e5768198b839c8337dab439d29e89d883 (diff)
LOGFILE should be /var/log/gnunetd/gnunetd.log everywhere
-rw-r--r--debian/gnunet-server.dirs2
-rw-r--r--debian/gnunet-server.logrotate2
-rw-r--r--debian/gnunet-server.postinst2
-rw-r--r--debian/gnunet-server.postrm2
4 files changed, 4 insertions, 4 deletions
diff --git a/debian/gnunet-server.dirs b/debian/gnunet-server.dirs
index 065bc65..1e2a7d4 100644
--- a/debian/gnunet-server.dirs
+++ b/debian/gnunet-server.dirs
@@ -1,2 +1,2 @@
var/lib/gnunet
-var/log/gnunet-server
+var/log/gnunetd
diff --git a/debian/gnunet-server.logrotate b/debian/gnunet-server.logrotate
index c3e7a81..f64185c 100644
--- a/debian/gnunet-server.logrotate
+++ b/debian/gnunet-server.logrotate
@@ -1,4 +1,4 @@
-/var/log/gnunet-server/gnunet.log {
+/var/log/gnunetd/gnunet.log {
weekly
size=100k
rotate 7
diff --git a/debian/gnunet-server.postinst b/debian/gnunet-server.postinst
index 5ae5660..d2995fc 100644
--- a/debian/gnunet-server.postinst
+++ b/debian/gnunet-server.postinst
@@ -55,7 +55,7 @@ case "${1}" in
# Update files and directories permissions.
# Assuming default values, this *should* not be changed.
echo -n "Updating files and directories permissions:"
- chown -R ${_USERNAME}:${_GROUPNAME} /var/log/gnunet-server
+ chown -R ${_USERNAME}:${_GROUPNAME} /var/log/gnunetd
chown -R ${_USERNAME}:${_GROUPNAME} ${SERVICEHOME}
# Secure access to the data directory
chmod 0700 "${SERVICEHOME}" || true
diff --git a/debian/gnunet-server.postrm b/debian/gnunet-server.postrm
index 554ea0c..aab17fd 100644
--- a/debian/gnunet-server.postrm
+++ b/debian/gnunet-server.postrm
@@ -33,7 +33,7 @@ case "${1}" in
delgroup --quiet --system --only-if-empty ${GNUNETDNS_GROUP} || true
fi
- rm -rf /var/log/gnunet-server /etc/default/gnunet-server
+ rm -rf /var/log/gnunetd /etc/default/gnunet-server
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)