mirror of
https://github.com/DeBrosOfficial/network.git
synced 2025-12-15 01:28:50 +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
|
fi
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
log "Creating new systemd service..."
|
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
|
cat > /tmp/debros-node.service << EOF
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=DeBros Network Node
|
Description=DeBros Network Node
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user