summaryrefslogtreecommitdiff
path: root/README.md
blob: f21925f4dca2da0caee5c68cd6e74b57c58dbe6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# lume-watcher

## Usage
Deps
```
sudo apt install inotify-tools
```

1. Clone this repository.
```
git clone https://github.com/haturatu/lume-watcher
```

2. Move the lume-watcher script to /etc/init.d/lume-watcher.
```
sudo mv lume-watcher /etc/init.d/lume-watcher
```

3. Optionally, change the permissions of the lume-watcher script.
```
sudo chmod +x /etc/init.d/lume-watcher
```

4. Add a service to SysVinit.
```
sudo update-rc.d lume-watcher defaults
```
done!

## Start-Stop
```
sudo service lume-watcher start
```
```
sudo service lume-watcher stop
```
```
sudo service lume-watcher restart
```
```
sudo service lume-watcher status
```