Update README.md
This commit is contained in:
parent
96d653c8dc
commit
1b891e7a92
1 changed files with 16 additions and 1 deletions
15
README.md
15
README.md
|
@ -1,3 +1,18 @@
|
||||||
# create-system-log
|
# create-system-log
|
||||||
|
|
||||||
A custom script for a customer that wanted to have the system download the logs every 12 hours to a share so they could transfer the logs somewhere else.
|
A custom script for a customer that wanted to have the system download the logs every 12 hours to a share so they could transfer the logs somewhere else.
|
||||||
|
|
||||||
|
# Defaults
|
||||||
|
|
||||||
|
It will place the logs in a share called "mylogs" on volume "data" -- if it doesn't exist, it will create it automatically. It will pull the hostname and the unix timestamp. 15 minutes after the system boots and every 12 hours afterwards, the system will back up the logs and store them in the share.
|
||||||
|
|
||||||
|
# To install the script
|
||||||
|
|
||||||
|
Copy and paste the below command into a ReadyNAS shell.
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -s https://gitlab.codycook.us/readynas-scripts/create-system-log/-/raw/main/create-system-log-install.sh | bash
|
||||||
|
```
|
||||||
|
It will download the latest code and then immediately kick off a log bundle.
|
||||||
|
|
||||||
|
Once installed, it will inform you that the installation has concluded.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue