Merge pull request #183 from sr-gi/update-service

Updates teosd.service
This commit is contained in:
Sergi Delgado Segura 2023-02-06 16:34:51 +01:00 committed by GitHub
commit 280e4785f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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);
}
};