kych.socket (700B)
1 [Unit] 2 Description=Socket for the KyCH OAuth 2.0 gateway 3 Documentation=https://docs.taler.net/taler-kych-manual.html 4 5 [Socket] 6 # Only used when kych.conf says SERVE = systemd; with the shipped SERVE = unix 7 # the daemon binds this path itself and this unit must stay disabled. The two 8 # paths are deliberately the same, so that the reverse proxy configuration does 9 # not change when an administrator switches between the two. 10 ListenStream=/run/kych/kych.sock 11 12 # The reverse proxy runs as www-data and connects to the socket; kych.service 13 # runs with Group=www-data for the same reason in the non-activated case. 14 SocketUser=root 15 SocketGroup=www-data 16 SocketMode=0660 17 18 [Install] 19 WantedBy=sockets.target