PDA

View Full Version : how to work with incrontab, cannot start the service



genezing
25th April 2016, 03:06 PM
Hello,

I'm wondering how to work with incrontab, first a question is incrontab still used because I find almost nothing recent about it or is there some other daemon/watcher that looks at a directory and triggers events when adding files to the dir?

my error when doing sudo systemctl start incrontab.service


Apr 25 10:01:08 lampserver polkitd[657]: Registered Authentication Agent for unix-process:4649:83391 (system bus name :1.32 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/A
Apr 25 10:01:08 lampserver systemd[1]: Starting LSB: incron daemon monitors files in a cron-alike manner...
-- Subject: Unit incron.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit incron.service has begun starting up.
Apr 25 10:01:08 lampserver incron[4654]: /etc/rc.d/init.d/incron: line 39: /etc/rc.status: No such file or directory
Apr 25 10:01:08 lampserver systemd[1]: incron.service: control process exited, code=exited status=1
Apr 25 10:01:08 lampserver systemd[1]: Failed to start LSB: incron daemon monitors files in a cron-alike manner.
-- Subject: Unit incron.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit incron.service has failed.
--
-- The result is failed.