diff --git a/README.md b/README.md index 39928a6..be169e3 100644 --- a/README.md +++ b/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.