summaryrefslogtreecommitdiffstats
path: root/12.-Appendix.md
diff options
context:
space:
mode:
authorkrakenrf <78108016+krakenrf@users.noreply.github.com>2024-07-17 07:57:53 +0200
committerkrakenrf <78108016+krakenrf@users.noreply.github.com>2024-07-17 07:57:53 +0200
commitd66909459b9706965587b376319e21a9dc6f1b0b (patch)
tree225effd7453696019559e4dad2f7a641900e5cc7 /12.-Appendix.md
parentUpdated 07. KrakenSDR Troubleshooting (markdown) (diff)
downloadkrakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar.gz
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar.bz2
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar.lz
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar.xz
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.tar.zst
krakensdr_docs.wiki-d66909459b9706965587b376319e21a9dc6f1b0b.zip
Diffstat (limited to '12.-Appendix.md')
-rw-r--r--12.-Appendix.md45
1 files changed, 44 insertions, 1 deletions
diff --git a/12.-Appendix.md b/12.-Appendix.md
index 85dc08f..49def7c 100644
--- a/12.-Appendix.md
+++ b/12.-Appendix.md
@@ -113,4 +113,47 @@ If you expect the Web GUI to be open and want the KrakenSDR Web GUI to automatic
## Not Working
* Tinkerboard - Unfortunately pure 32-bit ARM CPUs are not supported by Miniforge Conda.
-# Frequently asked Questions (FAQ) \ No newline at end of file
+# Making Kraken Autoboot
+If you manually install the software you can use the same procedure that we use on our image files to make the software autoboot:
+
+Create a start_kraken.sh script in /boot:
+
+```
+#!/bin/bash
+
+# This script is run on startup by a systemd service at /lib/systemd/system/krakensdr.service
+
+cd /home/krakenrf/krakensdr_doa
+./kraken_doa_start.sh
+```
+
+Create a systemd service called krakensdr.service in `/lib/systemd/system/krakensdr.service`:
+
+```
+[Unit]
+Description=Start KrakenSDR Code
+After=multi-user.target
+
+[Service]
+Type=forking
+Workingdirectory=/home/krakenrf/krakensdr_doa
+ExecStart=/usr/bin/sh /boot/start_kraken.sh
+
+[Install]
+WantedBy=multi-user.target
+```
+
+Make the service boot on every restart:
+
+```
+sudo systemctl daemon-reload
+sudo systemctl enable krakensdr.service
+```
+
+Finally, in kraken_doa_start.sh, comment out the eval line, and uncomment the source line:
+
+```
+source /home/krakenrf/miniforge3/etc/profile.d/conda.sh #<- required for systemd auto startup
+#eval "$(conda shell.bash hook)"
+conda activate kraken
+``` \ No newline at end of file