From c9ce9b8987789d52390c30f08be0d745acf5ec41 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 10 Jan 2021 03:34:42 +0100 Subject: [PATCH] use sh for vncserver --- templates/vnc/vncserver.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]