summaryrefslogtreecommitdiff
path: root/README.md
blob: eb704c36818c591db283fe4b702accfef8d49a0a (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
# lume-watcher

## Usage

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 /etc/init.d/lume-watcher start
```
```
sudo /etc/init.d/lume-watcher stop
```
```
sudo /etc/init.d/lume-watcher restart
```
```
sudo /etc/init.d/lume-watcher status
```