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.
2 parents 0cf3d97 + 4030442 commit 280e478Copy full SHA for 280e478
contrib/init/teosd.service
@@ -1,8 +1,9 @@
1
[Unit]
2
Description=The Eye of Satoshi daemon
3
-After=bitcoind.service network.target
4
Requires=bitcoind.service
5
-Wants=network.target
+After=bitcoind.service
+Wants=network-online.target
6
+After=network-online.target
7
8
[Service]
9
ExecStart=/home/teos/.cargo/bin/teosd
teos/src/main.rs
@@ -158,7 +158,7 @@ async fn main() {
158
_ => e.to_string(),
159
};
160
log::error!("Failed to connect to bitcoind. Error: {}", e_msg);
161
- return;
+ std::process::exit(1);
162
}
163
164
0 commit comments