You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
447 B
21 lines
447 B
[Unit]
|
|
Description=Online ext4 Metadata Check for %I
|
|
OnFailure=e2scrub_fail@%i.service
|
|
Documentation=man:e2scrub(8)
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/
|
|
PrivateNetwork=true
|
|
ProtectSystem=true
|
|
ProtectHome=read-only
|
|
PrivateTmp=yes
|
|
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
|
|
NoNewPrivileges=yes
|
|
User=root
|
|
IOSchedulingClass=idle
|
|
CPUSchedulingPolicy=idle
|
|
Environment=SERVICE_MODE=1
|
|
ExecStart=@root_sbindir@/e2scrub -t %I
|
|
SyslogIdentifier=%N
|