tests: update expect file for u_direct_io
[e2fsprogs.git] / scrub / e2scrub_reap.service.in
blob58a45656bdc4a080ca0d8c7d3547aadab326441e
1 [Unit]
2 Description=Remove Stale Online ext4 Metadata Check Snapshots
3 ConditionCapability=CAP_SYS_ADMIN
4 ConditionCapability=CAP_SYS_RAWIO
5 Documentation=man:e2scrub_all(8)
7 [Service]
8 Type=oneshot
9 WorkingDirectory=/
10 PrivateNetwork=true
11 ProtectSystem=true
12 ProtectHome=read-only
13 PrivateTmp=yes
14 AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
15 NoNewPrivileges=yes
16 User=root
17 IOSchedulingClass=idle
18 CPUSchedulingPolicy=idle
19 Environment=SERVICE_MODE=1
20 ExecStart=@root_sbindir@/e2scrub_all -A -r
21 SyslogIdentifier=%N
22 RemainAfterExit=no
24 [Install]
25 WantedBy=multi-user.target