File tree Expand file tree Collapse file tree 5 files changed +4
-11
lines changed Expand file tree Collapse file tree 5 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,8 @@ mkdir -p "$SERVICE_DIR"
1818
1919# Copy systemd service files for buildernet
2020for service in \
21- lighthouse reth reth-sync \
22- rbuilder-bidding rbuilder
21+ lighthouse # reth reth-sync \
22+ # rbuilder-bidding rbuilder
2323do
24- # install -m 644 "services/systemd/$service.service" "$SERVICE_DIR/"
25- echo " Skipping installation of $service "
24+ install -m 644 " services/systemd/$service .service" " $SERVICE_DIR /"
2625done
Original file line number Diff line number Diff line change 44# Generate JWT token if it doesn't exist
55if [ ! -f /tmp/jwt.hex ]; then
66 openssl rand -hex 32 | tr -d " \n" | tee /tmp/jwt.hex
7- chown lighthouse:eth /tmp/jwt.hex
87 chmod 640 /tmp/jwt.hex
98fi
109
1110# Create and setup persistent directory
12- mkdir -p /persistent/lighthouse
13- chown lighthouse:eth /persistent/lighthouse
11+ mkdir -p /persistent/lighthouse
Original file line number Diff line number Diff line change @@ -8,8 +8,6 @@ ConditionPathExists=/persistent
88Type =exec
99User =lighthouse
1010Group =eth
11- WorkingDirectory =/persistent/lighthouse
12- Environment =HOME =/persistent/lighthouse
1311ExecStartPre =/usr/bin/lighthouse-init
1412ExecStart =/usr/bin/lighthouse bn \
1513 --eth1 \
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ ConditionPathExists=/persistent
77Type =exec
88User =rbuilder
99Group =eth
10- WorkingDirectory =/var/run/rbuilder
1110ExecStartPre =/bin/bash /usr/bin/rbuilder-init.sh
1211ExecStart =/usr/bin/bwrap \
1312 --ro-bind /usr /usr \
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ ConditionPathExists=/persistent
88[Service]
99User =reth
1010Group =eth
11- WorkingDirectory =/persistent/reth
1211ExecStart =/usr/bin/reth node \
1312 --full \
1413 --datadir "/persistent/reth" \
You can’t perform that action at this time.
0 commit comments