diff --git a/install/install_quilibrium_service.sh b/install/install_quilibrium_service.sh index 8aa0bb4..c0d90bb 100644 --- a/install/install_quilibrium_service.sh +++ b/install/install_quilibrium_service.sh @@ -75,7 +75,11 @@ fi # Step10.2:Create Ceremonyclient Service echo "⏳ Re-Creating Ceremonyclient Service" sleep 2 # Add a 2-second delay -sudo rm /lib/systemd/system/ceremonyclient.service +# Check if the ceremonyclient.service file exists +if [ -f /lib/systemd/system/ceremonyclient.service ]; then + # If it exists, remove it + sudo rm /lib/systemd/system/ceremonyclient.service +fi sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <