On Wed, Jan 23, 2013 at 9:14 AM, Colin Guthrie <gm...@colin.guthr.ie> wrote: > ExecStartPre=-/usr/bin/vncserver -kill %i > ExecStart=/usr/bin/vncserver %i -geometry 1024x600 -depth 24 -fp > /usr/share/X11/fonts/misc > ExecStop=/usr/bin/vncserver -kill %i
The ExecStartPre should be unnecessary if this VNC server only runs as a systemd service. systemd will kill (gently or forcibly) any remaining processes left after ExecStop. It is also good to explicitly set the PID file path, which should be something like "$HOME/.vnc/host:display#.pid" based on the man page. -- David Strauss | da...@davidstrauss.net | +1 512 577 5827 [mobile] _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel