www-apps/code-server-bin: new package; add version 3.4.1

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć
2020-07-26 23:26:46 +02:00
parent 9686aa65fe
commit 3e02c80346
5 changed files with 120 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
--- a/bin/code-server
+++ b/bin/code-server
@@ -33,4 +33,4 @@ root() {
}
ROOT="$(root)"
-exec "$ROOT/lib/node" "$ROOT" "$@"
+exec node "$ROOT" --disable-telemetry "$@"

View File

@@ -0,0 +1,11 @@
[Unit]
Description=code-server
After=network.target
[Service]
Type=exec
ExecStart=/usr/bin/code-server
Restart=always
[Install]
WantedBy=default.target