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