earnest ma 2022-09-20 09:37:00 -04:00
parent da69b8a6c7
commit d809637ad1
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=code-server
After=network.target
[Service]
Type=exec
Environment=EXTENSIONS_GALLERY='{ "serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery", "cacheUrl": "https://vscode.blob.core.windows.net/gallery/index", "itemUrl": "https://marketplace.visualstudio.com/items", "controlUrl": "", "recommendationsUrl": "" }'
ExecStart=/usr/bin/code-server
Restart=always
[Install]
WantedBy=default.target