feat: fixed deploy script for setting up service for restarting
This commit is contained in:
parent
e761320bc7
commit
baef052a4a
4 changed files with 44 additions and 23 deletions
|
|
@ -50,7 +50,6 @@ async fn main() -> Result<()> {
|
|||
|
||||
let callback = move |event: gpio::CircuitEvent| {
|
||||
info!("Circuit state changed: {:?}", event);
|
||||
|
||||
let discord_client = discord_client_clone.clone();
|
||||
tokio::spawn(async move {
|
||||
if let Err(e) = discord_client.send_circuit_event(&event).await {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue