Skip to content

Environment ​

ahpw serve reads these below the flags and the config file:

Variable
AHPD_URLThe server's socket
AHPD_HOSTThe server's socket, when AHPD_URL is not set
AHPD_TOKENThe token, when the socket has no tkn=

A flag or the file that gives a socket or a token replaces the one from here.

sh
AHPD_URL="ws://127.0.0.1:9187/?tkn=$(cat ~/.config/ahpd/token)" ahpw serve