GisServer/playbooks/templates/qgis-server@.socket.j2

15 lines
336 B
Django/Jinja

;; @path: /etc/systemd/system/qgis-server@.socket
;; @permission: -rw-r--r-- 1 root root
[Unit]
Description=QGIS Server Listen Socket (instance %i)
[Socket]
Accept=false
ListenStream=/run/qgis-server-%i.sock
SocketUser={{ qgis_server['user'] }}
SocketGroup={{ qgis_server['group'] }}
SocketMode=0600
[Install]
WantedBy=sockets.target