Update install_services.sh
This commit is contained in:
@@ -384,21 +384,21 @@ ExecStart=/usr/local/bin/gotty -p 8080 --title-format "BirdNET-Pi Log" journalct
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable birdnet_log.service
|
systemctl enable birdnet_log.service
|
||||||
echo "Installing the extraction_log.service"
|
echo "Installing the web_terminal.service"
|
||||||
cat << EOF > /etc/systemd/system/extraction_log.service
|
cat << EOF > /etc/systemd/system/web_terminal.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=BirdNET Extraction Log
|
Description=BirdNET-Pi Web Terminal
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=3
|
RestartSec=3
|
||||||
Type=simple
|
Type=simple
|
||||||
User=${USER}
|
User=${USER}
|
||||||
Environment=TERM=xterm-256color
|
Environment=TERM=xterm-256color
|
||||||
ExecStart=/usr/local/bin/gotty -p 8888 --title-format "Extractions Log" journalctl -o cat -fu extraction.service
|
ExecStart=/usr/local/bin/gotty -w -p 8888 --title-format "BirdNET-Pi Terminal" bash
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
EOF
|
EOF
|
||||||
systemctl enable extraction_log.service
|
systemctl enable web_terminal.service
|
||||||
}
|
}
|
||||||
|
|
||||||
install_sox() {
|
install_sox() {
|
||||||
|
|||||||
Reference in New Issue
Block a user