-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
craigerl
committed
Jan 8, 2024
1 parent
a5d11ce
commit 20528f9
Showing
17 changed files
with
271 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=ardopc - ARDOP softmodem for pi | ||
After=network.target sound.target | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx tnc300b digipeater tnc node js8call | ||
ExecStart=/home/pi/ardop.sh | ||
User=pi | ||
Restart=no | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Unit] | ||
Description=Automatically generates an internet Hotspot when a valid ssid is not in range | ||
After=multi-user.target | ||
[Service] | ||
Type=oneshot | ||
RemainAfterExit=yes | ||
ExecStartPre=sleep 30 | ||
ExecStart=/usr/local/bin/digihotspot.sh | ||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=digipeater | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx ardop tnc300b tnc node winlinkrms pat js8call | ||
ExecStart=/home/pi/direwolf.digipeater.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
#KillSignal=SIGKILL | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
Description=DigiPi initial boot service | ||
After=default.target | ||
|
||
[Service] | ||
Type=simple | ||
#Wait for boot process to complete, not just start | ||
ExecStartPre=sleep 20 | ||
#ExecStart=digipeater | ||
#ExecStart=node | ||
#ExecStart=winlink | ||
ExecStart=systemctl start tnc | ||
Restart=no | ||
|
||
[Install] | ||
WantedBy=default.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
DefaultDependencies=no | ||
Description=Create /run/resolv.conf before networking starts | ||
Wants=network-pre.target | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/bin/touch /run/resolv.conf | ||
TimeoutSec=0 | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
RequiredBy=network-pre.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=fldigi | ||
#Requires=rigctld.service | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop tnc sstv wsjtx ardop tnc300b digipeater node winlinkrms pat js8call | ||
ExecStart=/home/pi/fldigi.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
Description=gpio_redled | ||
#After=ardop | ||
#Before=network.target | ||
|
||
|
||
[Service] | ||
ExecStart=/home/pi/gpio_redled.py | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=js8call | ||
#Requires=rigctld.service | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi tnc sstv wsjtx ardop tnc300b digipeater node winlinkrms pat | ||
ExecStart=/home/pi/js8call.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=node | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop tnc fldigi sstv wsjtx ardop tnc300b digipeater winlinkrms js8call | ||
ExecStart=/home/pi/direwolf.node.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
KillSignal=SIGINT | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=pat | ||
Requires=rigctld.service | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx tnc300b digipeater js8call | ||
ExecStartPre=sleep 1 | ||
#ExecStart=/usr/bin/pat-winlink http | ||
ExecStart=/usr/bin/pat http | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[Unit] | ||
Description=rigctld | ||
#Before=pat | ||
|
||
|
||
[Service] | ||
ExecStart=/usr/bin/rigctld -m 3085 -r /dev/ttyACM0 -s 115200 | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=pat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=sstv | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop tnc fldigi wsjtx ardop tnc300b digipeater node winlinkrms pat js8call | ||
ExecStart=/home/pi/sstv.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=tnc | ||
After=graphical.target | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx ardop tnc300b digipeater node winlinkrms js8call | ||
Type=simple | ||
ExecStart=/home/pi/direwolf.tnc.sh | ||
Restart=no | ||
WorkingDirectory=/home/pi/ | ||
User=pi | ||
|
||
[Install] | ||
WantedBy=graphical.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=tnc | ||
After=network.target sound.target | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx ardop digipeater tnc winlinkrms node js8call | ||
ExecStart=/home/pi/direwolf.tnc300b.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[Unit] | ||
Description=webchat | ||
Requires=tnc.service | ||
|
||
[Service] | ||
ExecStartPre=sleep 1 | ||
ExecStart=/home/pi/webchat.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
#Environment=FLASK_CONFIG=development | ||
#Environment=FLASK_ENV=development | ||
Restart=no | ||
User=pi | ||
KillSignal=SIGINT | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[Unit] | ||
Description=winlinkrms | ||
Conflicts=fldigi.service sstv.service wsjtx.service tnc300b.service digipeater.service tnc.service node.service | ||
|
||
|
||
[Service] | ||
ExecStartPre=+systemctl stop fldigi sstv wsjtx tnc300b digipeater tnc node js8call | ||
ExecStart=/home/pi/direwolf.winlink.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
#KillSignal=SIGKILL | ||
|
||
|
||
|
||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[Unit] | ||
Description=wsjtx | ||
|
||
[Service] | ||
ExecStartPre=+systemctl stop tnc fldigi sstv ardop tnc300b digipeater node winlinkrms pat js8call | ||
ExecStart=/home/pi/wsjtx.sh | ||
WorkingDirectory=/home/pi/ | ||
StandardOutput=inherit | ||
StandardError=inherit | ||
Restart=no | ||
User=pi | ||
TimeoutStopSec=3 | ||
|
||
[Install] | ||
WantedBy=multi-user.target |