hledger/hledger-web/Hledger
Carl Richard Theodor Schneider 72acd7c22a 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
2020-01-12 16:15:37 -08:00
..
Web web: Add option --socket to use UNIX socket file 2020-01-12 16:15:37 -08:00
Web.hs ui, web: fix build after tests cleanup 2018-09-03 08:43:57 -07:00