summarylogtreecommitdiffstats
path: root/trafficserver.install
blob: 25ba2f9a4d5fc90d5339c8dbcf9971b68ff583be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
    systemd-tmpfiles --create trafficserver.conf
}

post_upgrade() {
    # There are configuration changes required when upgrading to major
    # version 6.
    if [[ "${2%%.*}" -lt 7 ]]; then
        echo 'Please review your configuration when upgrading to v7:'
        echo ' https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v7.0'
    fi
}

post_remove() {
    echo 'Tserver log files and cache files must be cleaned up manually.'
}