blob: d07664cb75ccba8e03890eba735c225df5fefb4c (
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
26
27
|
_chown() {
chown -R perspectives:perspectives \
/usr/share/webapps/perspectives-server \
/etc/webapps/perspectives-server \
/etc/conf.d/perspectives-server.conf
}
post_install() {
groupadd --system perspectives
useradd --system \
--comment "Perspectives Notary Server" \
--gid perspectives \
--home /usr/share/webapps/perspectives-server -M \
--shell /bin/false \
perspectives &>/dev/null
_chown
}
post_upgrade() {
_chown
}
post_remove() {
userdel perspectives
groupdel perspectives
}
|