summarylogtreecommitdiffstats
path: root/gitbucket.install
blob: 79be6eb6dbdf96b600109418f9b1512eff2496f3 (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
post_install()
{
	echo ""
	echo "To start gitbucket, run: systemctl start gitbucket"
	echo "To enable gitbucket at boot, run: systemctl enable gitbucket"
	echo ""
}

post_upgrade()
{
	systemctl daemon-reload
}

pre_remove()
{
	systemctl stop gitbucket
	systemctl disable gitbucket
}

post_remove()
{
	# cleanup
	rm -rf /usr/lib/gitbucket
}