summaryrefslogtreecommitdiff
path: root/pcr/inspircd/inspircd.install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-01-28 03:27:16 +0000
commit462391357aa5e749dc9908c15f3baa0b4416f3d8 (patch)
tree11d4d3f054aae9ffd869adc634054f64a16d83b8 /pcr/inspircd/inspircd.install
parent748e32a3a886569b58a27003e85b76be5746153d (diff)
Tue Jan 28 03:22:21 UTC 2014
Diffstat (limited to 'pcr/inspircd/inspircd.install')
-rw-r--r--pcr/inspircd/inspircd.install15
1 files changed, 0 insertions, 15 deletions
diff --git a/pcr/inspircd/inspircd.install b/pcr/inspircd/inspircd.install
deleted file mode 100644
index ec97113f5..000000000
--- a/pcr/inspircd/inspircd.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- getent group inspircd &>/dev/null || groupadd -r -g 141 inspircd >/dev/null
- getent passwd inspircd &>/dev/null || useradd -r -u 141 -g inspircd -d /var/lib/inspircd -s /bin/false -c inspircd inspircd >/dev/null
-
- echo '==> You will need to create a config file for inspircd'
- echo '==> cp /etc/inspircd/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/run/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 >/dev/null
- getent group inspircd &>/dev/null && groupdel inspircd >/dev/null
-}