mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-12 22:58:49 +00:00
Fix: Use config file instead of data directory in systemd service
This commit is contained in:
parent
cce5326368
commit
4bd91ae83e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user