Skip to content

Commit

Permalink
cleanup sysdweb
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed May 31, 2023
1 parent f027b2c commit b28f1b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
10 changes: 2 additions & 8 deletions BatRack-OS.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,11 @@ RUN systemctl enable raspimjpeg.service
RUN tee -a /etc/sysdweb.conf <<EOF

[raspimjpeg]
title = RaspiMJPEG
title = RaspiMJPEG | Raspberry Pi Camera MJPEG Stream
unit = raspimjpeg
EOF

RUN systemctl enable raspiwebcam.service
RUN tee -a /etc/sysdweb.conf <<EOF

[raspiwebcam]
title = RPi Cam Web Interface
unit = raspiwebcam
EOF

# Install BatRack dependenies
RUN apt-get install -y python3-numpy python3-pyaudio
Expand All @@ -70,6 +64,6 @@ RUN systemctl enable batrack.service
RUN tee -a /etc/sysdweb.conf <<EOF

[BatRack]
title = BatRack
title = BatRack | Audiovisual Bat Recording
unit = batrack
EOF
14 changes: 5 additions & 9 deletions tRackIT-OS.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ RUN ln -s /boot/wireguard.conf /etc/wireguard/wireguard.conf
RUN systemctl enable wg-quick@wireguard
RUN tee -a /etc/sysdweb.conf <<EOF
[wg-quick@wireguard]
title = Wireguard (/boot/wireguard.conf)
title = Wireguard | Remote Access (/boot/wireguard.conf)
unit = wg-quick@wireguard
EOF

Expand All @@ -134,14 +134,14 @@ RUN systemctl enable filebrowser
RUN systemctl enable mosquitto.service
RUN tee -a /etc/sysdweb.conf <<EOF
[Mosquitto]
title = Mosquitto MQTT Broker
title = Mosquitto | MQTT Broker
unit = mosquitto
EOF

# List chrony
RUN tee -a /etc/sysdweb.conf <<EOF
[chrony]
title = Chrony Time Synchronization
title = Chrony | Time Synchronization
unit = chrony
EOF
RUN systemctl enable chrony-waitsync
Expand All @@ -155,7 +155,7 @@ RUN python3 -m pip install psutil
RUN systemctl enable mqttutil.service
RUN tee -a /etc/sysdweb.conf <<EOF
[mqttutil]
title = MQTTUtil
title = MQTTUtil | System Health State
unit = mqttutil
EOF

Expand All @@ -175,12 +175,8 @@ RUN systemctl enable radiotracking.service
RUN systemctl enable radiotracking-config.service
RUN tee -a /etc/sysdweb.conf <<EOF
[radiotracking]
title = RadioTracking
title = RadioTracking | VHF Signal Detection
unit = radiotracking

[radiotracking-config]
title = RadioTracking Configuration
unit = radiotracking-config
EOF

# Enable hardware connectivity
Expand Down

0 comments on commit b28f1b4

Please sign in to comment.