[Debian-ha-commits] [csync2] 02/02: Use syslog (-l) for logging in inetd mode

Valentin Vidic vvidic-guest at moszumanska.debian.org
Fri Jun 10 14:03:41 UTC 2016


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

vvidic-guest pushed a commit to branch master
in repository csync2.

commit e9912e1d3b4df8acbd542a57f4d5ba5ec424ae9a
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Fri Jun 10 16:00:46 2016 +0200

    Use syslog (-l) for logging in inetd mode
    
    Otherwise error messages end up on the network connection.
---
 debian/postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/postinst b/debian/postinst
index 69d63a9..e0a4c8c 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -23,7 +23,7 @@ case "$1" in
     if ! grep -q -s "^csync2" /etc/inetd.conf ; then
 	update-inetd --remove '^csync2'
 	update-inetd --group OTHER --add \
-                     'csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2 -i'
+                     'csync2\t\tstream\ttcp\tnowait\troot\t/usr/sbin/csync2\tcsync2 -i -l'
     fi
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/csync2.git



More information about the Debian-HA-Commits mailing list