From ffbedad5fb9f140647a1c59843e70cadbf9f49b6 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Thu, 5 Nov 2020 12:09:00 +0100 Subject: [PATCH] change README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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.