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

15 lines
336 B
Plaintext
Raw Normal View History

2024-04-06 22:50:53 +02:00
;; @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
2024-04-06 22:50:53 +02:00
SocketUser={{ qgis_server['user'] }}
SocketGroup={{ qgis_server['group'] }}
SocketMode=0600
[Install]
WantedBy=sockets.target