Skip to content

Instantly share code, notes, and snippets.

@chrisloweau
Created September 21, 2017 05:07
Show Gist options
  • Save chrisloweau/61295dd5eda49e00e1c66e6743ad0631 to your computer and use it in GitHub Desktop.
Save chrisloweau/61295dd5eda49e00e1c66e6743ad0631 to your computer and use it in GitHub Desktop.
VNC Service wrapper for systemd on Raspbian x86
[Unit]
Description=VNC Server
[Service]
Type=forking
ExecStart=/usr/local/bin/myvncserver start
ExecStop=/usr/local/bin/myvncserver stop
ExecReload=/usr/local/bin/myvncserver restart
User=pi
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment