diff options
Diffstat (limited to 'libre-testing/shadow/shadow.service')
-rw-r--r-- | libre-testing/shadow/shadow.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre-testing/shadow/shadow.service b/libre-testing/shadow/shadow.service new file mode 100644 index 000000000..39025d90e --- /dev/null +++ b/libre-testing/shadow/shadow.service @@ -0,0 +1,11 @@ +[Unit] +Description=Verify integrity of password and group files +After=systemd-sysusers.service + +[Service] +Type=simple +# Always run both checks, but fail the service if either fails +ExecStart=/bin/sh -c '/usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r' +Nice=19 +IOSchedulingClass=best-effort +IOSchedulingPriority=7 |