Darrick J. Wong | a2df589 | 2018-03-23 18:57:22 -0700 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Online ext4 Metadata Check for %I |
| 3 | OnFailure=e2scrub_fail@%i.service |
| 4 | Documentation=man:e2scrub(8) |
| 5 | |
| 6 | [Service] |
| 7 | Type=oneshot |
| 8 | WorkingDirectory=/ |
| 9 | PrivateNetwork=true |
| 10 | ProtectSystem=true |
| 11 | ProtectHome=read-only |
| 12 | PrivateTmp=yes |
| 13 | AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO |
| 14 | NoNewPrivileges=yes |
| 15 | User=root |
| 16 | IOSchedulingClass=idle |
| 17 | CPUSchedulingPolicy=idle |
| 18 | Environment=SERVICE_MODE=1 |
| 19 | ExecStart=@root_sbindir@/e2scrub -t %I |
| 20 | SyslogIdentifier=%N |