PKGBUILDs/community/unrealircd/unrealircd.install

13 lines
394 B
Text
Raw Normal View History

2016-01-09 01:03:07 +00:00
post_install() {
2016-08-29 18:14:29 +00:00
getent passwd ircd >/dev/null || useradd -r ircd -d /var/empty
2016-01-09 01:03:07 +00:00
chown -R ircd {etc,var/{cache,log,lib}}/unrealircd
systemd-tmpfiles --create unrealircd.conf
echo "SSL is enabled by default, so you need to create pem files"
echo "unrealircd.conf needs adjustments"
echo "See also: https://wiki.archlinux.org/index.php/UnrealIRCd"
}
post_upgrade() {
post_install
}