BSD Ports

sysutils/filewatcherd 1.0_1,1 DragonFly

Daemon that watches files and runs commands when they change

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ISCL
Categories
sysutils
Package size
13.3 KiB, 27.2 KiB installed

Description

filewatcherd is a daemon inspired by cron, that run commands based on file changes instead of time.

In principle it is similar to incron, but it's simpler, more limited, and does not depend on anything outside of FreeBSD base.

In the other systems

SystemPortVersion
DragonFlysysutils/filewatcherd1.0_1,1
FreeBSDsysutils/filewatcherd1.0_1,1

Install

Binary package:

pkg install filewatcherd

From DPorts:

cd /usr/dports/sysutils/filewatcherd && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

filwatcherd configuration files were installed in the following directory:

	/usr/local

Before starting the server or the client you need to perform the
following steps:

1) Copy the appropriate sample configuration file as follows:

	cp /usr/local/etc/watchtab.sample /usr/local/etc/watchtab

2) Edit filewatcherd's configuration file to suit your needs:

	$EDITOR /usr/local/watchtab

3) Add the following line to your rc.conf:

	filewatcherd_enable="YES"


Then you can start filewatcherd by issuing the following command:

	service filewatcherd start