summaryrefslogtreecommitdiff
path: root/community/unrealircd/unrealircd.install
blob: 0eca0c2a86e7d34fb554cc62b9e0cb0783207a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  getent passwd ircd >/dev/null || useradd -r ircd
  chown -R ircd etc/unrealircd var/log/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
}

post_remove() {
  userdel ircd
}