From aeb1e5a5d2e1495c14302436fbb244cdae617733 Mon Sep 17 00:00:00 2001 From: Thomas Oettli Date: Tue, 3 Nov 2020 14:09:25 +0100 Subject: [PATCH] change README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7635e1b..e983f61 100644 --- a/README.md +++ b/README.md @@ -118,3 +118,13 @@ watch = Watch(path="/src_path", event_map=event_map, rec=True, auto_add=True) pyinotifyd_config = PyinotifydConfig( watches=[watch], loglevel=logging.INFO, shutdown_timeout=35) ``` + +# Autostart +pyinotifyd provides a systemd service file. +```sh +# start the daemon during boot +systemctl enable pyinotifyd.service + +# start the daemon +systemctl start pyinotifyd.service +```