From d809637ad18acfa7e10b6f751ade3c98a0232b86 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 20 Sep 2022 09:37:00 -0400 Subject: [PATCH] * --- systemd/.config/systemd/user/code-server.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 systemd/.config/systemd/user/code-server.service 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