Stefan Dirsch
e5429da1f8
- Do not carry two variants of the same servcice file, but rather bring a template which we dynamically adjust during installation to cater for the correct libexecdir value. + Replace xvnc-novnc-libexec.service and xvnc-novnc-lib.service with xvnc-novnc.service.in. OBS-URL: https://build.opensuse.org/request/show/889945 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=205
11 lines
294 B
SYSTEMD
11 lines
294 B
SYSTEMD
[Unit]
|
|
Description=noVNC Web Server
|
|
Requires=xvnc.target
|
|
After=xvnc.target
|
|
|
|
[Service]
|
|
ExecStart=@LIBEXECDIR@/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
|