From 0af84f011446496dd85a1cc6b139121ac99b139b Mon Sep 17 00:00:00 2001 From: yum Date: Tue, 21 Oct 2025 19:15:02 -0700 Subject: oops --- .bashrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..c526160 --- /dev/null +++ b/.bashrc @@ -0,0 +1,18 @@ +function check_live { + ssh yummers.dev 'sudo journalctl -u obsproxy -n 30 -f' +} +function start_live { + ssh yummers.dev 'sudo systemctl start obsproxy' +} +function stop_live { + ssh yummers.dev 'sudo systemctl stop obsproxy' +} +function restart_live { + ssh yummers.dev 'sudo systemctl restart obsproxy' +} +function get_live { + live_url=$(ssh yummers.dev "journalctl -u obsproxy -n 10000 | grep 'HLS:' | awk '{print \$NF}'" | tail -n 1) + echo $live_url | clip.exe + echo "Copied to clipboard: $live_url" +} + -- cgit v1.2.3