summarylogtreecommitdiffstats
path: root/gosearch.install
blob: e069800ced3afc2466f66fba194470553af0b5a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    systemctl enable gosearch.service
    systemctl start gosearch.service
}

pre_upgrade() {
    systemctl stop gosearch.service
}

post_upgrade() {
    systemctl daemon-reload
    systemctl start gosearch.service
}

pre_remove() {
    systemctl stop gosearch.service
}