Skip to content

Commit

Permalink
Set cwd for vscode #831
Browse files Browse the repository at this point in the history
  • Loading branch information
fnoop committed Apr 29, 2019
1 parent 1b1c93b commit 3f491ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
timeout => 0,
user => "mav",
require => Class["maverick_web::nodejs"],
before => Exec["codeserver-ext-python"],
} ->
exec { "codeserver-build":
command => "/usr/bin/yarn task build:server:binary >/srv/maverick/var/log/build/codeserver.build.log 2>&1",
Expand All @@ -55,7 +56,6 @@
} ->
file { "/srv/maverick/var/build/.install_flag_codeserver":
ensure => present,
before => Exec["codeserver-ext-python"],
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Requires=network-online.target

[Service]
TimeoutStartSec=0
ExecStart=/srv/maverick/software/codeserver/packages/server/code-server --user-data-dir /srv/maverick/data/web/codeserver --port <%= @webport %> --allow-http --disable-telemetry --password <%= @password %>
WorkingDirectory=/srv/maverick
ExecStart=/srv/maverick/software/codeserver/packages/server/code-server --user-data-dir /srv/maverick/data/web/codeserver --port <%= @webport %> --allow-http --disable-telemetry --password <%= @password %> /srv/maverick
User=mav

[Install]
Expand Down

0 comments on commit 3f491ec

Please sign in to comment.