From ee149cb1dd50c6b07f495fd1888c337c6c33570a Mon Sep 17 00:00:00 2001
From: Luke Marsden <me@lukemarsden.net>
Date: Tue, 14 Nov 2023 06:07:46 +0000
Subject: [PATCH] always restart faucet

---
 stack | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stack b/stack
index 1572627e..95d7bacb 100755
--- a/stack
+++ b/stack
@@ -59,7 +59,7 @@ function faucet() {
   eval $(./stack print-contract-env)
   local privateKey=$(echo -n "$ADMIN_PRIVATE_KEY" | sed 's/^0x//')
   local tokenAddress=$(echo -n "$WEB3_TOKEN_ADDRESS" | sed 's/^0x//')
-  docker run -d \
+  docker run --restart=always -d \
     --name faucet \
     -p 8080:8080 \
     --network lilypad \