summarylogtreecommitdiffstats
path: root/install_storm.sh
blob: 2b357fe4bd58ea119044b970e3b5cdcd503bd3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
post_install() {
    systemd-sysusers storm.conf
    systemd-tmpfiles --create storm.conf
}

post_upgrade(){
    systemd-sysusers storm.conf
    systemd-tmpfiles --create storm.conf
}

post_remove() {
    if getent passwd storm >/dev/null 2>&1; then
        userdel -f storm
    fi
    if getent group storm >/dev/null 2>&1; then
        groupdel -f storm
    fi
}