Please sign in to comment.
web: Add option --socket to use UNIX socket file
This commit adds the --socket option to use hledger-web over an AF_UNIX socket file. It allows running multiple instances of hledger-web on the same system without having to manually choose a port for each instance, which is helpful for running individual instances for multiple users. In this scenario, the socket path is predictable, as it can be derived from the username. It also introduces the following dependencies: - network - Used to create the unix domain socket - unix-compat - Used to identify if the socket file is still a socket, to reduce the risk of deleting a file when cleaning up the socket
- Loading branch information
Showing with 63 additions and 7 deletions.