summarylogtreecommitdiffstats
path: root/torrserver.install
blob: 979bf6c7c68bcda01a9fc879d793d6929e144e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
	# Load service file
	systemctl --quiet daemon-reload
}

post_upgrade() {
	# Reload service file
	systemctl --quiet daemon-reload
}

pre_remove() {
	# Stop service
	systemctl --quiet --no-reload disable --now torrserver.service
}

post_remove() {
	# Unload service
	systemctl --quiet daemon-reload
}