testing new updater -- not for general testing
This commit is contained in:
@@ -90,7 +90,7 @@ ExecStart=/usr/local/bin/species_notifier.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now pushed_notifications
|
||||
systemctl enable pushed_notifications.service
|
||||
}
|
||||
|
||||
create_necessary_dirs() {
|
||||
@@ -234,7 +234,7 @@ ExecStart=/bin/bash -c "/usr/bin/avahi-publish -a -R %I $(avahi-resolve -4 -n %H
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now avahi-alias@birdnetpi.local.service
|
||||
systemctl enable avahi-alias@birdnetpi.local.service
|
||||
}
|
||||
|
||||
install_spectrogram_service() {
|
||||
@@ -250,7 +250,7 @@ ExecStart=/usr/local/bin/spectrogram.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now spectrogram_viewer.service
|
||||
systemctl enable spectrogram_viewer.service
|
||||
}
|
||||
|
||||
install_gotty_logs() {
|
||||
@@ -277,7 +277,7 @@ ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" journalct
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now birdnet_log.service
|
||||
systemctl enable birdnet_log.service
|
||||
echo "Installing the extraction_log.service"
|
||||
cat << EOF > /etc/systemd/system/extraction_log.service
|
||||
[Unit]
|
||||
@@ -294,7 +294,7 @@ ExecStart=/usr/local/bin/gotty -p 8888 --title-format "Extractions Log" journalc
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now extraction_log.service
|
||||
systemctl enable extraction_log.service
|
||||
}
|
||||
|
||||
install_sox() {
|
||||
@@ -357,12 +357,12 @@ install_icecast() {
|
||||
echo "icecast2 icecast2/icecast-setup boolean false" | debconf-set-selections
|
||||
apt install -qqy icecast2
|
||||
config_icecast
|
||||
systemctl enable --now icecast2
|
||||
systemctl enable icecast2.service
|
||||
/etc/init.d/icecast2 start
|
||||
else
|
||||
echo "Icecast2 is installed"
|
||||
config_icecast
|
||||
systemctl enable --now icecast2
|
||||
systemctl enable icecast2.service
|
||||
/etc/init.d/icecast2 start
|
||||
fi
|
||||
}
|
||||
@@ -395,7 +395,7 @@ ExecStart=/usr/local/bin/livestream.sh
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
systemctl enable --now livestream.service
|
||||
systemctl enable livestream.service
|
||||
}
|
||||
|
||||
install_nomachine() {
|
||||
|
||||
Reference in New Issue
Block a user