summarylogtreecommitdiffstats
path: root/veeam.install
blob: 903a8601e2ea02d665311b0c15aa4525b4f76880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
post_install() {
    echo "post install"
    groupadd veeam
    systemctl daemon-reload
    systemctl enable veeamservice.service
    systemctl restart veeamservice.service    
    echo "."
}

pre_upgrade() {
    echo "pre update"
    echo "."
}

post_upgrade() {
    echo "post upgrade"
    systemctl daemon-reload
    systemctl restart veeamservice.service
    echo "."
}

pre_remove() {
    echo "pre remove"
    systemctl stop veeamservice.service
    systemctl disable veeamservice.service
    rm -rf /var/log/veeam
    echo "."
}