[debian-edu-commits] debian-edu/pkg-team/ 09/159: further integration fixes
Dominik George
natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit d9d42efe7d6eb94e9b09b184f7072d4a0c6b9381
Author: Gustavo Homem <gustavo at angulosolido.pt>
Date: Wed Mar 20 17:19:40 2013 +0000
further integration fixes
---
postinst | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/postinst b/postinst
index 37e4931..de913ae 100644
--- a/postinst
+++ b/postinst
@@ -6,16 +6,19 @@ fi
XRDP="xrdp"
-CHOWN="/bin/chown"
ADDUSER="/usr/sbin/adduser"
+XRDPLOG="/var/log/xrdp-sesman.log"
SESMANLOG="/var/log/xrdp-sesman.log"
+RSAKEYS="/etc/xrdp/rsakeys.ini"
[ -d /var/run/xrdp ] || mkdir -p /var/run/xrdp
$ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \
--no-create-home --quiet --group $XRDP
-touch $SESMANLOG
-$CHOWN $XRDP:$XRDP $SESMANLOG
-
+touch $SESMANLOG $XRDPLOG
+chown $XRDP:$XRDP $SESMANLOG
+chown $XRDP:$XRDP $XRDPLOG
+chgrp $XRDP $RSAKEYS
+chmod g+r $RSAKEYS
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git
More information about the debian-edu-commits
mailing list