Sentinel support

Was #452.
This _could_ lead to problems, as Sentinels tries to rewrite its own config, which will fail if two instances access the same file.