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