summarylogtreecommitdiffstats
path: root/below.install
blob: 464ff16364adc92c183e215523b3012f98da74b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
    systemctl daemon-reload
    echo "The systemd service for persistent data collection can be enabled with:"
    echo "  systemctl enable below.service"
    echo "  systemctl start below.service"
}

post_upgrade() {
    systemctl daemon-reload
}

pre_remove() {
    systemctl stop below.service
    systemctl disable below.service
}

post_remove() {
    systemctl daemon-reload
}