Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
13 lines
306 B
Plaintext
13 lines
306 B
Plaintext
[Unit]
|
|
Description=Online ext4 Metadata Check for All Filesystems
|
|
ConditionACPower=true
|
|
ConditionCapability=CAP_SYS_ADMIN
|
|
ConditionCapability=CAP_SYS_RAWIO
|
|
Documentation=man:e2scrub_all(8)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=SERVICE_MODE=1
|
|
ExecStart=@root_sbindir@/e2scrub_all
|
|
SyslogIdentifier=e2scrub_all
|