Update README.md

add watchdog to .md
This commit is contained in:
M0VUB 2022-01-04 15:38:57 +00:00 committed by GitHub
parent 7fa77a6ed7
commit 887416faac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,17 +8,28 @@ https://github.com/LX3JL/xlxd/blob/master/ambed/readme
```sh ```sh
git clone https://github.com/n5amd/ambed-debian-installer git clone https://github.com/n5amd/ambed-debian-installer
cd ambed-debian-installer cd ambed-debian-installer
./ambe-debian-installer ./ambed-debian-installer
``` ```
4. Reboot after installation is complete. 4. Reboot after installation is complete.
### To interact with ambed after installation: ### To interact with AMBEd after installation:
```sh ```sh
systemctl start|stop|status|restart ambed systemctl start|stop|status|restart ambed
``` ```
- Installs to /ambed - Installs to /ambed
- Logs are via systemctl status - Logs are via systemctl status
### Watchdog for AMBEd
5. Install additional tools. Assuming you are still in the ambed-debian-installer dir..
```sh
cd templates
cp watchdog /ambed/watchdog
chmod 755 /ambed/watchdog
```
6. You can run the watchdog every 5 mins with a cron job
```sh
* */5 * * * * /ambed/./watchdog >> /ambed/watchdog.log
```
**The other parts to this install, if you need it can be found at:** **The other parts to this install, if you need it can be found at:**