mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
docs: give inotify-tools example in Ubuntu
This commit is contained in:
parent
52353f73e6
commit
e40312e805
1 changed files with 4 additions and 2 deletions
|
@ -69,11 +69,13 @@ In order to start using the feature, follow these steps:
|
|||
|
||||
### 1. Install `inotify` Tools
|
||||
|
||||
On CentOS for example, you can run this shell command:
|
||||
`inotify` is a Linux API that provides a mechanism for monitoring file system events and can be installed via your package manager.
|
||||
For example, you can install it on Ubuntu with:
|
||||
|
||||
``` bash
|
||||
sudo yum --enablerepo=epel -y install inotify-tools
|
||||
sudo apt-get install inotify-tools
|
||||
```
|
||||
|
||||
### 2. Set Up a Watcher Script
|
||||
|
||||
Now you need to set up a watcher script to run `inotifywait` and send the output to `koel:scan` artisan command. For example, you can create a sample `watch` file in Koel’s root directory with this content:
|
||||
|
|
Loading…
Reference in a new issue