mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 01:40:27 +00:00
9e0e955daf
- 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.
22 lines
328 B
Bash
Executable File
22 lines
328 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Debian post-installation script
|
|
#
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
if [ -f /etc/ngircd/ngircd.conf ]; then
|
|
# 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
|
|
|
|
#DEBHELPER#
|
|
|
|
# -eof-
|