summarylogtreecommitdiffstats
path: root/warp-plus.install
blob: 5fee452db44cf2956775d4ded149a25879e463aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
	echo "  -> Warp-Plus is installed as a systemd service."
	echo "  -> You should change default config file at /etc/warp-plus/config.json according to your preferences."
	echo "  -> Then enable and start service with systemctl command."
	echo "  -> sudo systemctl enable --now warp-plus.service"
}

pre_upgrade() {
	systemctl stop warp-plus.service
}

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

pre_remove() {
	systemctl disable --now warp-plus.service
}