Skip to content

Commit

Permalink
Merge pull request #183 from sr-gi/update-service
Browse files Browse the repository at this point in the history
Updates teosd.service
  • Loading branch information
sr-gi authored Feb 6, 2023
2 parents 0cf3d97 + 4030442 commit 280e478
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 280e478

Please sign in to comment.