summarylogtreecommitdiffstats
path: root/backup_btrfs.install
blob: f8ed301b6b71d3413d2d1d6f3cdc403e08bffcdc (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
function post_install()
{
	systemctl daemon-reload
}

function post_upgrade()
{
	systemctl daemon-reload
}

function pre_remove()
{
	systemctl disable --now 'backup_btrfsd.service'
}

function post_remove()
{
	systemctl daemon-reload

	cat <<-EOS
	Removed backup_btrfs, but any services or timers may be active.
	Please check them and turn them off if required.
	EOS
}