summaryrefslogtreecommitdiff
path: root/libre-testing/shadow/shadow.service
blob: 39025d90e1cbb487758191cb4b58a619f43ceda1 (plain)
1
2
3
4
5
6
7
8
9
10
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