mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02:00
MycroftOS: Add node-red launcher scripts and service file.
This commit is contained in:
8
buildroot-external/rootfs-overlay/usr/bin/node-red-stop
Executable file
8
buildroot-external/rootfs-overlay/usr/bin/node-red-stop
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo -e '\033]2;'Node-RED console'\007'
|
||||
echo -e "\033[1mStop \033[38;5;88mNode-RED\033[0m"
|
||||
echo " "
|
||||
echo -e "Use \033[0;36mnode-red-start\033[0m to start Node-RED again"
|
||||
sudo systemctl stop nodered
|
||||
echo " "
|
||||
exit
|
Reference in New Issue
Block a user