summarylogtreecommitdiffstats
path: root/trafficserver.install
blob: a15bc696189c29a9ed0eb7060a4a6b5687cdca25 (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 6 ]]; then
        echo 'Please review your configuration when upgrading to v4:'
        echo ' https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v6.0'
    fi
}

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