Skip to content

Instantly share code, notes, and snippets.

@ivanrad
Created July 21, 2022 10:45
Show Gist options
  • Save ivanrad/68e2f233787a1abfb375730274cce544 to your computer and use it in GitHub Desktop.
Save ivanrad/68e2f233787a1abfb375730274cce544 to your computer and use it in GitHub Desktop.
systemd unit file for OpenVSCode server
[Unit]
Description=openvscode_server
After=network.target
[Service]
Type=exec
ExecStart=/path/to/openvscode-server/bin/openvscode-server \
--host 127.0.0.1 \
--connection-token-file /path/to/.openvscode_serverrc \
--telemetry-level off
Restart=always
User=%i
[Install]
WantedBy=default.target
@Rizwan-Hasan
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment