06c7d6
# /etc/systemd/system/custodia@.socket
06c7d6
06c7d6
[Unit]
06c7d6
Description=Custodia Socket for %i
06c7d6
Documentation=https://github.com/latchset/custodia
06c7d6
06c7d6
[Socket]
06c7d6
ListenStream=/var/run/custodia/%i.sock
06c7d6
Service=custodia@%i.service
06c7d6
RemoveOnStop=true
06c7d6
SocketUser=custodia
06c7d6
SocketGroup=custodia
06c7d6
SocketMode=0666
06c7d6
PassCredentials=true
06c7d6
PassSecurity=true
06c7d6
06c7d6
[Install]
06c7d6
WantedBy=sockets.target