blob: 94a09c68b26e4dc4cda4b248d01e5f3f70f39d2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
if ! getent passwd confluence > /dev/null; then
useradd -r confluence
fi
chown -R confluence:confluence /opt/atlassian-confluence/{logs,temp,webapps,work,conf} /var/opt/atlassian-confluence
}
pre_upgrade() {
systemctl stop confluence.service
}
post_upgrade() {
chown -R confluence:confluence /opt/atlassian-confluence/{logs,temp,webapps,work,conf} /var/opt/atlassian-confluence
systemctl start confluence.service
}
|