summaryrefslogtreecommitdiff
path: root/README.md
blob: ae734f49884d2068b0f8fc2787c14d3ed87cbf54 (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
43
44
# lume-watcher
This is not stable, so we recommend using this :  
[haturatu/lumebuild](https://github.com/haturatu/lumebuild)

## 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
```