Updated Mediaserver setup [advanced] (markdown)

DutchShadow 2019-01-10 18:10:57 +01:00
parent ecc355b03f
commit a8866ed58b

@ -63,12 +63,13 @@ When using the local download configuration, matterbridge does not clean up any
If you run into issues with the amount of storage availble, then it is advised to do an automated cleanup which is to be done externally (i.e. via cron). An example cronjob and script are below:
Adding the cronjob:
Use your favorite text editing tool to add the below content to /etc/crontab
Use crontab /etc/crontab to be able to add the following line.
crontab:
```
@daily /path/to/matterbridge/cleanup.sh
```
The cronjob will now run cleanup.sh on a daily interval. The cleanup.sh needs to contain the following
The cronjob will now run cleanup.sh on a daily interval. The cleanup.sh with the following contents does a very basic clean up.
cleanup.sh:
```
#!/bin/bash