diff --git a/templates/vnc/vncserver.service.j2 b/templates/vnc/vncserver.service.j2 index a9083c1..ebfdacf 100644 --- a/templates/vnc/vncserver.service.j2 +++ b/templates/vnc/vncserver.service.j2 @@ -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]