summarylogtreecommitdiffstats
path: root/teamcity.install
diff options
context:
space:
mode:
Diffstat (limited to 'teamcity.install')
-rw-r--r--teamcity.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/teamcity.install b/teamcity.install
index c449b0b659fc..8b1f36057acc 100644
--- a/teamcity.install
+++ b/teamcity.install
@@ -10,6 +10,10 @@ post_install() {
echo "Default TeamCity port is 8111."
}
+pre_upgrade() {
+ rm -rf /opt/teamcity/webapps/ROOT
+}
+
post_upgrade() {
systemd-sysusers teamcity.conf
chown -R teamcity /opt/teamcity /var/lib/teamcity