Skip to content

Commit 54ef03c

Browse files
committed
bob-l1: revert lighthouse log rename
this breaks backwards compatibility a bit
1 parent ba5911f commit 54ef03c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

bob-common/mkosi.extra/usr/bin/init-container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ su -s /bin/sh searcher -c "cd ~ && podman run -d \
2121
-v /persistent/searcher:/persistent:rw \
2222
-v /etc/searcher/ssh_hostkey:/etc/searcher/ssh_hostkey:rw \
2323
-v /persistent/searcher_logs:/var/log/searcher:rw \
24-
-v /persistent/cl_logs:/var/log/cl:ro \
24+
-v /persistent/lighthouse_logs:/var/log/lighthouse:ro \
2525
-v /tmp/jwt.hex:/secrets/jwt.hex:ro \
2626
-v /etc/searcher-logrotate.conf:/tmp/searcher.conf:ro \
2727
docker.io/library/ubuntu:24.04 \

bob-l1/mkosi.extra/etc/systemd/system/lighthouse.service

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Type=exec
88
User=lighthouse
99
Group=eth
1010
ExecStartPre=+/usr/bin/lighthouse-init
11-
ExecStartPre=+/bin/mkdir -p /persistent/cl_logs
12-
ExecStartPre=+/bin/chown lighthouse:eth /persistent/cl_logs
13-
ExecStartPre=+/bin/chmod 755 /persistent/cl_logs
11+
ExecStartPre=+/bin/mkdir -p /persistent/lighthouse_logs
12+
ExecStartPre=+/bin/chown lighthouse:eth /persistent/lighthouse_logs
13+
ExecStartPre=+/bin/chmod 755 /persistent/lighthouse_logs
1414
ExecStart=/usr/bin/lighthouse bn \
1515
--network mainnet \
1616
--execution-endpoint http://localhost:8551 \
@@ -20,7 +20,7 @@ ExecStart=/usr/bin/lighthouse bn \
2020
--datadir "/persistent/lighthouse" \
2121
--disable-optimistic-finalized-sync \
2222
--disable-quic \
23-
--logfile-dir /persistent/cl_logs \
23+
--logfile-dir /persistent/lighthouse_logs \
2424
--logfile-format JSON \
2525
--logfile-debug-level debug \
2626
--logfile-max-number 5 \

0 commit comments

Comments
 (0)