summarylogtreecommitdiffstats
path: root/skywire.install
blob: 3299ab26ed65ced9b1f7f4b4efff596f7d99d02a (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
#pre-install() {
#kill any instance that was running
#systemctl disable --now skywire.service
#systemctl disable --now skywire-visor.service
#}

post_install() {
skywire-autoconfig
}

#pre-upgrade() {
#pre-install
#}

post_upgrade() {
post_install
}

pre-remove() {
systemctl disable --now skywire.service
systemctl disable --now skywire-visor.service
}

post_remove() {
#remove possibly dangling configs so as not to interfere with future installs
rm -rf /opt/skywire
}