forked from pool/tigervnc
Stefan Dirsch
9e5f310b0f
- Adjusting suse_version check from '> 1500' to '>= 1550' per request. - Adding if statement to control libexec (Tumbleweed +) vs lib based 'Source#' file for 'xvnc-novnc.service'. - 'xvnc-novnc.service' requires '/usr/libexec/vnc/with-vnc-key.sh' vs '/usr/lib/vnc/with-vnc-key.sh' for ExecStart to work correctly. OBS-URL: https://build.opensuse.org/request/show/888839 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=203
11 lines
294 B
Desktop File
11 lines
294 B
Desktop File
[Unit]
|
|
Description=noVNC Web Server
|
|
Requires=xvnc.target
|
|
After=xvnc.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/libexec/vnc/with-vnc-key.sh /usr/bin/websockify --key /etc/vnc/tls.key --cert /etc/vnc/tls.cert --web /usr/share/novnc --inetd localhost:5901
|
|
User=vnc
|
|
StandardInput=socket
|
|
StandardError=syslog
|