radio: private radio tracker (/trackers/radio): frequencies, UBC125XLT banks + CSV, nets, ISS passes over Gouda, listening log, ntfy reminders
All checks were successful
Deploy production / deploy (push) Successful in 1m26s
All checks were successful
Deploy production / deploy (push) Successful in 1m26s
This commit is contained in:
6
deploy/systemd/radio-iss.service
Normal file
6
deploy/systemd/radio-iss.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Radio tracker: refresh ISS TLE and passes over Gouda
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "echo \"== $$(date -Is) iss\" >> %h/.local/state/radio.log; exec /usr/bin/sudo -n docker exec --env-file %h/.config/radio.env personal-website-app-1 bun scripts/radio.ts iss >> %h/.local/state/radio.log 2>&1"
|
||||
10
deploy/systemd/radio-iss.timer
Normal file
10
deploy/systemd/radio-iss.timer
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Daily ISS pass refresh for the radio tracker
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 04:15:00 Europe/Amsterdam
|
||||
RandomizedDelaySec=10min
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
6
deploy/systemd/radio-remind.service
Normal file
6
deploy/systemd/radio-remind.service
Normal file
@@ -0,0 +1,6 @@
|
||||
[Unit]
|
||||
Description=Radio tracker: ntfy reminders 10 min before nets and ISS passes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "exec /usr/bin/sudo -n docker exec --env-file %h/.config/radio.env personal-website-app-1 bun scripts/radio.ts remind >> %h/.local/state/radio.log 2>&1"
|
||||
9
deploy/systemd/radio-remind.timer
Normal file
9
deploy/systemd/radio-remind.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Radio tracker reminders, every minute
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*:*:00
|
||||
AccuracySec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user