Browse Source

Do not restart docker if systemd_reload is false

tor-relay
nicolas.dorier 5 years ago
parent
commit
7c9f0d1647
No known key found for this signature in database GPG Key ID: 6618763EF09186FE
  1. 2
      btcpay-setup.sh

2
btcpay-setup.sh

@ -488,7 +488,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/btcpayserver.service
\"log-opts\": {\"max-size\": \"5m\", \"max-file\": \"3\"}
}" > /etc/docker/daemon.json
echo "Setting limited log files in /etc/docker/daemon.json"
$START && systemctl restart docker
$SYSTEMD_RELOAD && $START && systemctl restart docker
fi
echo -e "BTCPay Server systemd configured in /etc/systemd/system/btcpayserver.service\n"

Loading…
Cancel
Save