e2scrub@.service 438 B

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