aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index fbe1091..73de2d0 100644
--- a/README.md
+++ b/README.md
@@ -66,6 +66,12 @@ git clone https://github.com/dilluti0n/chzzkd
cd chzzkd
cargo install --path .
chzzkd < config.toml
+
+# Run as daemon
+RUST_LOG=info setsid chzzkd < config.toml >/dev/null 2>chzzkd.log
+
+# Stop daemon
+pkill chzzkd
```
Currently, configuration is read from stdin. The first release will