15 lines
340 B
Plaintext
15 lines
340 B
Plaintext
|
;; @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=/var/run/qgis-server-%i.sock
|
||
|
SocketUser={{ qgis_server['user'] }}
|
||
|
SocketGroup={{ qgis_server['group'] }}
|
||
|
SocketMode=0600
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sockets.target
|