Browse Source

use sh for vncserver

timer
parent
commit
c9ce9b8987
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/vnc/vncserver.service.j2

+ 1
- 1
templates/vnc/vncserver.service.j2 View File

@@ -21,7 +21,7 @@ After=syslog.target network.target
[Service]
Type=forking
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/usr/bin/fish -c "/usr/bin/vncserver %i"
ExecStart=/bin/sh -c "/usr/bin/vncserver %i"
ExecStop=/usr/bin/vncserver -kill %i

[Install]