Add support for NRestarts counter introduced in systemd 235 (#992)

* Add support for NRestarts counter introduced in systemd 235

`.service` units increment this counter any time the Restart= condition is
triggered.

Signed-off-by: Matthew McGinn <mamcgi@gmail.com>
This commit is contained in:
xginn8 2018-07-05 07:31:45 -04:00 committed by Ben Kochie
commit 8af84a215d
2 changed files with 20 additions and 1 deletions

View file

@ -3,7 +3,7 @@
**Breaking changes**
* [CHANGE]
* [FEATURE]
* [FEATURE] Collect NRestarts property for systemd service units
* [ENHANCEMENT]
* [BUGFIX]