15 lines
272 B
SYSTEMD
15 lines
272 B
SYSTEMD
|
[Unit]
|
||
|
Description=Listening socket for pgweb
|
||
|
|
||
|
[Socket]
|
||
|
# Default tcp stream
|
||
|
ListenStream=127.0.0.1:8081
|
||
|
|
||
|
# Secure unix stream. Only allows the reverse proxy to access
|
||
|
# ListenStream=/run/pgweb.sock
|
||
|
# SocketGroup=caddy
|
||
|
# SocketMode=0660
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sockets.target
|