tigervnc/xvnc@.service.in
Stefan Dirsch 54dd3affe5 - Use a template xvnc@.service.in to dynamically adjust xvnc@.service
during installation to cater for the correct libexecdir value. This
  fixes wrong path for with-vnc-key.sh on sle15-sp4 (bsc#1192713)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=219
2021-11-15 17:40:56 +00:00

10 lines
349 B
SYSTEMD

[Unit]
Description=Xvnc Server
[Service]
ExecStart=@LIBEXECDIR@/vnc/with-vnc-key.sh /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1024x768 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log *:syslog:30 -extension MIT-SHM
User=vnc
StandardInput=socket
StandardOutput=socket
StandardError=syslog