We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05c1f39 commit 87b9cb4Copy full SHA for 87b9cb4
README.md
@@ -134,6 +134,23 @@ $ vim -p /config/monitor/.env /config/monitor/monitor.toml
134
$ systemctl restart monitor
135
```
136
137
+Hacking on the monitor locally
138
+------------------------------
139
+
140
+Easy but slow way:
141
142
+```
143
+$ nix develop -c sudo [RUST_BACKTRACE=1] monitor
144
145
146
+Harder but faster way:
147
148
149
+$ export RUSTFLAGS=-Clink-arg=-fuse-ld=mold
150
+$ cargo build --manifest-path monitor/Cargo.toml
151
+$ sudo [RUST_BACKTRACE=1] IMAGE_DEPS_DIR=$(nix eval --raw .\#image-deps) LIB_MONITOR_DIR=. monitor/target/debug/monitor
152
153
154
Windows 10 runner
155
-----------------
156
monitor/monitor.toml.example renamed to monitor.toml.example
0 commit comments