using nohup on start.sh

This commit is contained in:
Jorge Bolois 2024-02-03 14:10:17 +01:00
parent be21122056
commit b382c5121d
2 changed files with 2 additions and 16 deletions

16
.gitignore vendored
View File

@ -1,21 +1,7 @@
# ---> Rust
# Generated by Cargo
# will have compiled files and executables
debug/
target/
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk
# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Added by cargo
/target
nohup.out

View File

@ -1,5 +1,5 @@
#!/bin/bash
cargo r -r &
nohup cargo r -r &
sleep 1
echo "Monitor started"