xref: /aosp_15_r20/external/e2fsprogs/scrub/[email protected] (revision 6a54128f25917bfc36a8a6e9d722c04a0b4641b6)
1*6a54128fSAndroid Build Coastguard Worker[Unit]
2*6a54128fSAndroid Build Coastguard WorkerDescription=Online ext4 Metadata Check for %I
3*6a54128fSAndroid Build Coastguard WorkerOnFailure=e2scrub_fail@%i.service
4*6a54128fSAndroid Build Coastguard WorkerDocumentation=man:e2scrub(8)
5*6a54128fSAndroid Build Coastguard Worker
6*6a54128fSAndroid Build Coastguard Worker[Service]
7*6a54128fSAndroid Build Coastguard WorkerType=oneshot
8*6a54128fSAndroid Build Coastguard WorkerWorkingDirectory=/
9*6a54128fSAndroid Build Coastguard WorkerPrivateNetwork=true
10*6a54128fSAndroid Build Coastguard WorkerProtectSystem=true
11*6a54128fSAndroid Build Coastguard WorkerProtectHome=read-only
12*6a54128fSAndroid Build Coastguard WorkerPrivateTmp=yes
13*6a54128fSAndroid Build Coastguard WorkerAmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
14*6a54128fSAndroid Build Coastguard WorkerNoNewPrivileges=yes
15*6a54128fSAndroid Build Coastguard WorkerUser=root
16*6a54128fSAndroid Build Coastguard WorkerIOSchedulingClass=idle
17*6a54128fSAndroid Build Coastguard WorkerCPUSchedulingPolicy=idle
18*6a54128fSAndroid Build Coastguard WorkerEnvironment=SERVICE_MODE=1
19*6a54128fSAndroid Build Coastguard WorkerExecStart=@root_sbindir@/e2scrub -t %I
20*6a54128fSAndroid Build Coastguard WorkerSyslogIdentifier=%N
21