change README.md
This commit is contained in:
12
README.md
12
README.md
@@ -17,6 +17,9 @@ pyinotifyd --uninstall
|
||||
```
|
||||
|
||||
### Autostart
|
||||
The following init systems are supported.
|
||||
|
||||
#### systemd
|
||||
```sh
|
||||
# start the daemon at boot time
|
||||
systemctl enable pyinotifyd.service
|
||||
@@ -25,6 +28,15 @@ systemctl enable pyinotifyd.service
|
||||
systemctl start pyinotifyd.service
|
||||
```
|
||||
|
||||
#### OpenRC (Gentoo)
|
||||
```sh
|
||||
# start the daemon at boot time
|
||||
rc-update add pyinotifyd default
|
||||
|
||||
# start the daemon immediately
|
||||
rc-service pyinotifyd start
|
||||
```
|
||||
|
||||
## Configuration
|
||||
The config file **/etc/pyinotifyd/config.py** is written in Python syntax. pyinotifyd reads and executes its content, that means you can add your custom Python code to the config file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user