fixed some garbage

Signed-off-by: hax <hax@lainlounge.xyz>
This commit is contained in:
h@x 2025-01-05 17:34:33 +00:00
parent 4ec0df6b41
commit 6c56f2ed30

View file

@ -22,12 +22,12 @@ To install and set up the website monitoring service, follow these steps:
#### 1. Clone or download the project files
Download the installation script install_monitor_service.sh and place it on your system.
Clone the project sitechecks.sh or sitechecks-installer.sh and place it on your system.
#### 2. Make the installation script executable
```bash
chmod +x install_monitor_service.sh
chmod +x sitechecks-installer.sh
```
#### 3. Run the installation script
@ -35,7 +35,7 @@ chmod +x install_monitor_service.sh
Execute the script to install the service, configuration files, and necessary setup:
```bash
sudo ./install_monitor_service.sh
sudo ./sitechecks-installer.sh
```
This will:
@ -47,7 +47,7 @@ This will:
#### 4. Customize the configuration file
Edit the sites.json file located at /etc/website-monitor/sites.json to include the websites you want to monitor:
Edit the sites.json file located at /etc/sitechecks/sites.json to include the websites you want to monitor:
{
"urls": [
@ -73,15 +73,15 @@ After installation, the monitoring service will automatically start. You can man
Check the status of the service:
```bash
sudo systemctl status website-monitor
sudo systemctl status sitechecks
```
#### View logs
Logs are stored in /var/log/website-monitor.log. You can view them with:
Logs are stored in /var/log/sitechecks.log. You can view them with:
```bash
sudo tail -f /var/log/website-monitor.log
sudo tail -f /var/log/sitechecks.log
```
#### Restart the service
@ -89,14 +89,14 @@ sudo tail -f /var/log/website-monitor.log
To restart the monitoring service:
```bash
sudo systemctl restart website-monitor
sudo systemctl restart sitechecks
```
#### Disable the service
If you want to stop the service from starting at boot:
```bash
sudo systemctl disable website-monitor
sudo systemctl disable sitechecks
```
#### Manual website check via Telegram (optional)