summaryrefslogtreecommitdiff
path: root/pcr/inspircd/inspircd.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/inspircd/inspircd.install')
-rw-r--r--pcr/inspircd/inspircd.install10
1 files changed, 1 insertions, 9 deletions
diff --git a/pcr/inspircd/inspircd.install b/pcr/inspircd/inspircd.install
index 997f72dcd..4cd15f22d 100644
--- a/pcr/inspircd/inspircd.install
+++ b/pcr/inspircd/inspircd.install
@@ -1,10 +1,6 @@
-create_user() {
- 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 inspircd >/dev/null
-}
post_install() {
- create_user
+ 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.'
@@ -12,10 +8,6 @@ post_install() {
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_upgrade() {
- create_user
-}
-
post_remove() {
getent passwd inspircd &>/dev/null && userdel inspircd
}