We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dd011c commit 513bf10Copy full SHA for 513bf10
src/bin/testservice.rs
@@ -155,6 +155,10 @@ fn tcp_accept(fd: i32) -> std::thread::JoinHandle<()> {
155
}
156
157
fn main() {
158
+ if (nix::unistd::getpid().as_raw() / 10) % 10 != 0 {
159
+ panic!("My service is very bad. It immediately panics at startup.");
160
+ }
161
+
162
println!(
163
"STARTED DEAMON WITH PID: {} AND FDS: {}",
164
env::var("LISTEN_PID").unwrap(),
0 commit comments