2024-05-18 22:06:08 +00:00
|
|
|
|
|
|
|
SHELL = /bin/bash
|
|
|
|
TOOLS="./tools"
|
|
|
|
|
2025-03-30 12:49:20 +00:00
|
|
|
.PHONY: help start kill status monitor errors
|
2024-05-18 22:06:08 +00:00
|
|
|
|
|
|
|
help:
|
|
|
|
@ echo ""
|
|
|
|
@ echo "Usage:"
|
2024-08-19 12:23:37 +00:00
|
|
|
@ echo " setup: Setup Project"
|
2025-03-30 12:49:20 +00:00
|
|
|
@ echo " start: Launch the Bot"
|
2025-03-27 23:05:31 +00:00
|
|
|
@ echo " stop: Stop the Bot"
|
2024-05-18 22:06:08 +00:00
|
|
|
@ echo " status: Check if Bot is running"
|
|
|
|
@ echo " monitor: Check users captcha process"
|
|
|
|
@ echo " error: Check for errors in the Bot"
|
|
|
|
@ echo ""
|
|
|
|
|
2024-08-19 12:23:37 +00:00
|
|
|
setup:
|
|
|
|
@ chmod +x $(TOOLS)/setup
|
|
|
|
@ $(TOOLS)/setup
|
|
|
|
|
2025-03-30 12:49:20 +00:00
|
|
|
start:
|
|
|
|
@ chmod +x $(TOOLS)/start
|
2025-04-12 20:53:35 +00:00
|
|
|
@ chmod +x $(TOOLS)/status
|
2025-03-30 12:49:20 +00:00
|
|
|
@ $(TOOLS)/start
|
2024-05-18 22:06:08 +00:00
|
|
|
|
2025-03-27 23:05:31 +00:00
|
|
|
stop:
|
|
|
|
@ chmod +x $(TOOLS)/stop
|
|
|
|
@ $(TOOLS)/stop
|
2024-05-18 22:06:08 +00:00
|
|
|
|
|
|
|
status:
|
2024-05-18 22:58:27 +00:00
|
|
|
@ chmod +x $(TOOLS)/status
|
2024-05-18 22:06:08 +00:00
|
|
|
@ $(TOOLS)/status
|
|
|
|
|
|
|
|
monitor:
|
2024-05-18 22:58:27 +00:00
|
|
|
@ chmod +x $(TOOLS)/monitor
|
2024-05-18 22:06:08 +00:00
|
|
|
@ $(TOOLS)/monitor
|
|
|
|
|
|
|
|
errors:
|
2024-05-18 22:58:27 +00:00
|
|
|
@ chmod +x $(TOOLS)/check_errors
|
2024-05-18 22:06:08 +00:00
|
|
|
@ $(TOOLS)/check_errors
|
2024-05-19 11:30:28 +00:00
|
|
|
|
|
|
|
catcfgchat:
|
|
|
|
@ chmod +x $(TOOLS)/catcfgchat
|
|
|
|
@ $(TOOLS)/catcfgchat
|
|
|
|
|
|
|
|
stats:
|
|
|
|
@ chmod +x $(TOOLS)/stats
|
|
|
|
@ $(TOOLS)/stats
|