summaryrefslogtreecommitdiff
path: root/community/ircservices/ircservices.install
blob: a6d3fa1ab71d1c5f19125747ccc2bc85e1935216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    groupadd irc
    useradd -G irc ircd
    chown -R ircd.irc /var/log/ircd
    chown -R ircd.irc /var/lib/ircd
}

post_upgrade() {
    chown -R ircd.irc /var/log/ircd
    chown -R ircd.irc /var/lib/ircd
}

post_remove() {
    echo "-- Don't forget to remove ircd user and irc group if you do not use it"
}