summarylogtreecommitdiffstats
path: root/roonserver.install
blob: d1a1feae3c6afb80bb57769bb8594e02294a353f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
post_install () {
userdel roon
groupdel roon
if [ ! -d /var/roon ]; then
mkdir -p /var/roon
fi
chown -R root:root /var/roon
chown -R root:root /opt/RoonServer

}

post_upgrade() {
userdel roon
groupdel roon
if [ ! -d /var/roon ]; then
mkdir -p /var/roon
fi
chown -R root:root /var/roon
chown -R root:root /opt/RoonServer
}

post_remove() {
userdel roon
groupdel roon
}