summarylogtreecommitdiffstats
path: root/apache-zeppelin.install
blob: cfb51390b1768248effe8043f7b35561d1c866e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
    groupadd -r -f apache-zeppelin
    useradd -r -g apache-zeppelin -s /usr/bin/nologin \
        -d /opt/apache-zeppelin apache-zeppelin || true

    chown apache-zeppelin -R /opt/apache-zeppelin
    chgrp apache-zeppelin -R /opt/apache-zeppelin
}

post_remove() {
    userdel apache-zeppelin
    groupdel apache-zeppelin
}