This is not stable, so we recommend using this :
haturatu/lumebuild
Deps
sudo apt install inotify-tools
- Clone this repository.
git clone https://github.com/haturatu/lume-watcher
- Move the lume-watcher script to /etc/init.d/lume-watcher.
sudo mv lume-watcher /etc/init.d/lume-watcher
- Optionally, change the permissions of the lume-watcher script.
sudo chmod +x /etc/init.d/lume-watcher
- Add a service to SysVinit.
sudo update-rc.d lume-watcher defaults
done!
sudo service lume-watcher start
sudo service lume-watcher stop
sudo service lume-watcher restart
sudo service lume-watcher status