Skip to content

Commit 201855e

Browse files
committed
have the script pick code-server from path
1 parent 95498f7 commit 201855e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/openrc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name=$RC_SVCNAME
77
description="$name - VS Code on a remote server"
88
user="" # your username here
99
homedir="/home/$user"
10-
command="/usr/bin/$name"
10+
command="$(which code-server)"
1111
# Just because you can do this does not mean you should. Use ~/.config/code-server/config.yaml instead
1212
#command_args="--extensions-dir $homedir/.local/share/$name/extensions --user-data-dir $homedir/.local/share/$name --disable-telemetry"
1313
command_user="$user:$user"

0 commit comments

Comments
 (0)