ToDo, systemctl enable log wrap

This commit is contained in:
vdo 2022-05-26 16:16:52 +01:00
parent cfcf947e6f
commit 21f41d18b1
No known key found for this signature in database
GPG key ID: F10AD1E5C08EA7E2
2 changed files with 2 additions and 1 deletions

View file

@ -16,3 +16,4 @@ ToDo:
[ ] Make tor service optional [ ] Make tor service optional
[ ] Optional block explorer [ ] Optional block explorer
[ ] Grafana with stats [ ] Grafana with stats
[ ] Add monerod-proxy

View file

@ -152,7 +152,7 @@ install_docker() { (
check_return $? check_return $?
# Fedora and Centos need to enable & start the daemon # Fedora and Centos need to enable & start the daemon
if grep -q "fedora" /etc/os-release || grep -q "centos" /etc/os-release; then if grep -q "fedora" /etc/os-release || grep -q "centos" /etc/os-release; then
systemctl enable docker systemctl enable docker >>"${XMRSH_LOG_FILE}" 2>&1
systemctl start docker >>"${XMRSH_LOG_FILE}" 2>&1 systemctl start docker >>"${XMRSH_LOG_FILE}" 2>&1
fi fi
echo -e "${Ok}" echo -e "${Ok}"