Created
March 8, 2019 10:34
-
-
Save ymauray/b01ea810226aa946b9fed2a009739b74 to your computer and use it in GitHub Desktop.
systemd startup script for Visual Studio Code on the server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Visual Studio Code on the server | |
After=network.target | |
[Service] | |
ExecStart=/usr/bin/code-server --allow-http /home/someuser/workspace/ --password=somefixedpassword | |
User=someuser | |
Restart=always | |
RestartSec=1 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Handy!