X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=README;h=510ba33b02e7c51d43e19b8493e576e8a1ab2c24;hb=b8abeed6c7bddb9d9770f3be93dc41400354783b;hp=1b8a6c35650fed3627f8753bc46559521f84d37f;hpb=a3031f694a0d58d23d383346ee848a6c78a1e4b9;p=nsscash%2Fnsscash.git diff --git a/README b/README index 1b8a6c3..510ba33 100644 --- a/README +++ b/README @@ -95,6 +95,10 @@ running processes! Now configure `nsscash` to run regularly, for example via cron or a systemd timer. +To monitor `nsscash` for errors one can use the last modification time of the +state file (see below). It's written on each successful run and not modified +if an error occurs. + === CONFIGURATION Nsscash is configured through a simple configuration file written in TOML. A @@ -112,10 +116,10 @@ typical configuration looks like this: url = "https://example.org/group" path = "/etc/group.nsscash" - // Optional, but useful to deploy files which are not supported by the - // nsscash NSS module, but by libc's "files" NSS module. nsscash takes - // care of the atomic replacement and updates; an "netgroup: files" entry - // in "/etc/nsswitch.conf" makes the netgroups available. + # Optional, but useful to deploy files which are not supported by the + # nsscash NSS module, but by libc's "files" NSS module. nsscash takes care + # of the atomic replacement and updates; an "netgroup: files" entry in + # "/etc/nsswitch.conf" makes the netgroups available. [[file]] type = "plain" url = "https://example.org/netgroup"