summarylogtreecommitdiffstats
path: root/pkgdistcache.install
blob: d2891aa35ed5feb50e24ec2a5e9619d956f98d05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
	cat <<EOF

==> Quick start:

*** SERVER MODE ***
Start and enable service:
 $ sudo systemctl enable --now pkgdistcached

*** CLIENT MODE ***
1) Make sure avahi-daemon is enabled:
 $ sudo systemctl enable avahi-daemon
2) Edit /etc/pacman.conf, set the option:
     XferCommand = /usr/bin/pkgdistcache-client %u %o

EOF
}