summarylogtreecommitdiffstats
path: root/inspircd.install
blob: 4cd15f22d9e19e14323532d22b0e944a4add60ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

post_install() {
  getent passwd inspircd &>/dev/null && userdel inspircd
  echo '==> You will need to create a config file for inspircd'
  echo '==>   cp /usr/share/inspircd/examples/inspircd.conf.example /etc/inspircd/inspircd.conf'
  echo '==> You will need to change the pidfile. To do this you can insert the following into your config.'
  echo '==>   <pid file="/var/lib/inspircd/inspircd.pid">'
  echo '==> Remember to use absolute paths in your config directory and not relative paths like you would do with a user-based inspircd install.'
}

post_remove() {
  getent passwd inspircd &>/dev/null && userdel inspircd
}