SHA256
1
0
forked from pool/tigervnc
tigervnc/xvnc-novnc-libexec.service
Stefan Dirsch 9e5f310b0f Accepting request 888839 from home:sbradnick:branches:X11:XOrg
- 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
2021-05-02 20:41:14 +00:00

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