Skip to content

Commit

Permalink
Merge pull request #637 from jdlcdl/manual-build-adjustments-0.8.0
Browse files Browse the repository at this point in the history
new url for libzbar; altered config for seedsigner service
  • Loading branch information
newtonick authored Dec 22, 2024
2 parents f8c380f + 6c7ee5e commit cfc22b0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/raspberry_pi_os_build_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ SeedSigner requires `zbar` at 0.23.x or higher.

Download the binary:
```bash
curl -L http://raspbian.raspberrypi.org/raspbian/pool/main/z/zbar/libzbar0_0.23.90-1_armhf.deb --output libzbar0_0.23.90-1_armhf.deb
curl -L http://raspbian.raspberrypi.org/raspbian/pool/main/z/zbar/libzbar0_0.23.90-1+deb11u1_armhf.deb --output libzbar0_0.23.90-1_armhf.deb
```

And then install it:
Expand Down Expand Up @@ -211,7 +211,9 @@ Description=Seedsigner
[Service]
User=pi
WorkingDirectory=/home/pi/seedsigner/src/
ExecStart=/usr/bin/python3 main.py > /dev/null 2>&1
ExecStart=/usr/bin/python3 main.py
StandardOutput=null
ErrorOutput=null
Restart=always

[Install]
Expand All @@ -220,7 +222,7 @@ WantedBy=multi-user.target

_Note: For local dev you'll want to edit the `Restart=always` line to `Restart=no`. This way when your dev code crashes it won't keep trying to restart itself. Note that the UI "Reset" will no longer work when auto-restarts are disabled._

_Note: Debugging output is completely wiped via routing the output to `/dev/null 2>&1`. When working in local dev, you'll `kill` the `systemd` SeedSigner service and just directly run the code on demand so you can see all the debugging output live._
_Note: Debugging output is completely wiped via routing the stdout and stderr to `/dev/null`. When working in local dev, you'll `kill` the `systemd` SeedSigner service and just directly run the code on demand so you can see all the debugging output live._

Use `CTRL-X` and `y` to exit and save changes.

Expand Down

0 comments on commit cfc22b0

Please sign in to comment.