Fix: Use config file instead of data directory in systemd service

This commit is contained in:
JohnySigma 2025-10-25 12:19:31 +03:00
parent cce5326368
commit 4bd91ae83e

View File

@ -430,7 +430,7 @@ create_systemd_service() {
fi
sudo systemctl daemon-reload
log "Creating new systemd service..."
local exec_start="$INSTALL_DIR/bin/node -data $INSTALL_DIR/data/node"
local exec_start="$INSTALL_DIR/bin/node --config $INSTALL_DIR/configs/node.yaml"
cat > /tmp/debros-node.service << EOF
[Unit]
Description=DeBros Network Node