summarylogtreecommitdiffstats
path: root/portolan.install
blob: 19ede8c91c13590e24c192ed6b4258d332a4ca5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  systemctl daemon-reload
  systemctl start portolan
  systemctl enable portolan
}

pre_upgrade() {
  systemctl stop portolan
}

post_upgrade() {
  systemctl daemon-reload
  systemctl start portolan
}

pre_remove() {
  systemctl stop portolan
  systemctl disable portolan
}

post_remove() {
  rm -rf /usr/share/portolan
}