ifupdown: use fcntl advisory locks to serialize state changes (closes #8)

This commit is contained in:
Ariadne Conill 2020-07-29 03:01:49 -06:00
parent 2fecbfc7e9
commit 91115edeee
2 changed files with 68 additions and 1 deletions

View file

@ -42,6 +42,9 @@ configured in the configuration database.
Include _PATTERN_ when matching against the config or state
database.
*-L, --no-lock*
Do not use a lockfile to serialize state changes.
*-S, --state-file* _FILE_
Use _FILE_ as the state database.