Skip to content

Commit

Permalink
Updates teosd.service, adds tor link
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-gi committed Feb 6, 2023
1 parent 0cf3d97 commit 4030442
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions contrib/init/teosd.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[Unit]
Description=The Eye of Satoshi daemon
After=bitcoind.service network.target
Requires=bitcoind.service
Wants=network.target
After=bitcoind.service
Wants=network-online.target
After=network-online.target

[Service]
ExecStart=/home/teos/.cargo/bin/teosd
Expand Down
2 changes: 1 addition & 1 deletion teos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn main() {
_ => e.to_string(),
};
log::error!("Failed to connect to bitcoind. Error: {}", e_msg);
return;
std::process::exit(1);
}
};

Expand Down

0 comments on commit 4030442

Please sign in to comment.