diff --git a/systemd/.config/systemd/user/code-server.service b/systemd/.config/systemd/user/code-server.service new file mode 100644 index 0000000..20fa936 --- /dev/null +++ b/systemd/.config/systemd/user/code-server.service @@ -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