about summary refs log tree commit diff
path: root/contrib/Debian/ngircd.postinst
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2017-01-06 00:30:43 +0100
committerAlexander Barton <alex@barton.de>2017-01-06 00:30:43 +0100
commit9e0e955daf57b997792ca55a236498694ce634e2 (patch)
tree2d601e317979f99285ea5ed6484e9cf0b8f0c425 /contrib/Debian/ngircd.postinst
parent3e447384168a619e79c163dab5bd5493acf33734 (diff)
downloadngircd-9e0e955daf57b997792ca55a236498694ce634e2.tar.gz
ngircd-9e0e955daf57b997792ca55a236498694ce634e2.zip
Update Debian package
- Update debhelper compatibility to version 9.
- Update build-dependencies.
- Change group of ngircd.conf to "irc" in postinst script (this makes
  starting ngIRCd as user "irc" easier, for example when using systemd).
- Don't create /var/run/ircd during installation: this is handled by the
  SysV init script and the systemd service already.
Diffstat (limited to 'contrib/Debian/ngircd.postinst')
-rwxr-xr-xcontrib/Debian/ngircd.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/Debian/ngircd.postinst b/contrib/Debian/ngircd.postinst
index 55679342..f6e3c4f7 100755
--- a/contrib/Debian/ngircd.postinst
+++ b/contrib/Debian/ngircd.postinst
@@ -1,7 +1,6 @@
 #!/bin/sh
 #
 # Debian post-installation script
-# $Id: ngircd.postinst,v 1.2 2006/12/26 14:44:40 alex Exp $
 #
 
 set -e
@@ -12,6 +11,7 @@ case "$1" in
 			# make sure that the configuration file is not
 			# world-readable, it contains passwords!
 			chmod o= /etc/ngircd/ngircd.conf
+			chgrp irc /etc/ngircd/ngircd.conf
 		fi
 		;;
 esac