fixed some garbage
Signed-off-by: hax <hax@lainlounge.xyz>
This commit is contained in:
parent
4ec0df6b41
commit
6c56f2ed30
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
|
@ -22,12 +22,12 @@ To install and set up the website monitoring service, follow these steps:
|
||||||
|
|
||||||
#### 1. Clone or download the project files
|
#### 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
|
#### 2. Make the installation script executable
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
chmod +x install_monitor_service.sh
|
chmod +x sitechecks-installer.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 3. Run the installation script
|
#### 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:
|
Execute the script to install the service, configuration files, and necessary setup:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ./install_monitor_service.sh
|
sudo ./sitechecks-installer.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
This will:
|
This will:
|
||||||
|
|
@ -47,7 +47,7 @@ This will:
|
||||||
|
|
||||||
#### 4. Customize the configuration file
|
#### 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": [
|
"urls": [
|
||||||
|
|
@ -73,15 +73,15 @@ After installation, the monitoring service will automatically start. You can man
|
||||||
Check the status of the service:
|
Check the status of the service:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl status website-monitor
|
sudo systemctl status sitechecks
|
||||||
```
|
```
|
||||||
|
|
||||||
#### View logs
|
#### 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
|
```bash
|
||||||
sudo tail -f /var/log/website-monitor.log
|
sudo tail -f /var/log/sitechecks.log
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Restart the service
|
#### Restart the service
|
||||||
|
|
@ -89,14 +89,14 @@ sudo tail -f /var/log/website-monitor.log
|
||||||
To restart the monitoring service:
|
To restart the monitoring service:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl restart website-monitor
|
sudo systemctl restart sitechecks
|
||||||
```
|
```
|
||||||
#### Disable the service
|
#### Disable the service
|
||||||
|
|
||||||
If you want to stop the service from starting at boot:
|
If you want to stop the service from starting at boot:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl disable website-monitor
|
sudo systemctl disable sitechecks
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Manual website check via Telegram (optional)
|
#### Manual website check via Telegram (optional)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue