summarylogtreecommitdiffstats
path: root/alpaca.install
blob: 205c7085bc6eaa4dd8187bef03f23814db3ed808 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  cat <<EOM
:: Alpaca comes installed with a systemd user service called alpaca.service.
   To use it, first generate your cntlm proxy hash:
     \$ alpaca -d MYDOMAIN -u me -H

   Include the generated ntlm credentials in ~/.config/alpaca.environment file.
   A functional environment file could look similar to this:

     LISTEN_ADDRESS=localhost
     LISTEN_PORT=3128
     NTLM_CREDENTIALS="me@DOMAIN:00000000000000000000000000000000"
     PAC_URL="http://some.url/to/some-file.pac"

EOM
}

post_upgrade() {
  post_install
}