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