summarylogtreecommitdiffstats
path: root/trafficserver.install
blob: 88e43dec4b44e18f7d6360b3d661f4a08e6a2491 (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 4.
    if [[ "${2%%.*}" -lt 4 ]]; then
        echo 'Please review your configuration when upgrading to v4:'
        echo ' https://cwiki.apache.org/confluence/display/TS/Upgrading+to+v4.0'
    fi
}

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