We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6947039 commit 52d70f5Copy full SHA for 52d70f5
src/main.rs
@@ -97,7 +97,7 @@ enum ProcessCommands {
97
/// Command to run
98
command: String,
99
/// Working directory
100
- #[arg(long, default_value = "/workspace")]
+ #[arg(long, default_value = "/root")]
101
cwd: String,
102
/// Disable auto-restart on failure
103
#[arg(long)]
@@ -208,6 +208,7 @@ fn run(cli: Cli) -> anyhow::Result<()> {
208
run_in_vm(
209
&vm_id,
210
&[
211
+ &format!("mkdir -p {cwd}"),
212
&format!("cat > /etc/systemd/system/vume-{name}.service << 'UNIT'\n{unit}UNIT"),
213
"systemctl daemon-reload",
214
&format!("systemctl enable --now vume-{name}.service"),
0 commit comments