diff options
author | Jan Vanmullem | 2022-12-28 16:22:46 +0100 |
---|---|---|
committer | Jan Vanmullem | 2022-12-28 16:22:46 +0100 |
commit | cc5d05a902dad812f5d38c4b5d44a7ec8cecd465 (patch) | |
tree | 8cf609c6dada8d1ceb1a60852f2463e214cab876 /alpaca.install | |
parent | eef72a09cd23c1f27de13eee237d30e6d2883afa (diff) | |
download | aur-cc5d05a902dad812f5d38c4b5d44a7ec8cecd465.tar.gz |
add optional systemd user service file
Diffstat (limited to 'alpaca.install')
-rw-r--r-- | alpaca.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/alpaca.install b/alpaca.install new file mode 100644 index 000000000000..205c7085bc6e --- /dev/null +++ b/alpaca.install @@ -0,0 +1,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 +} |