Whamcloud - gitweb
e2scrub: tag the *.e2scrub LV's with UDISK_IGNORE in udev
[tools/e2fsprogs.git] / scrub / e2scrub_reap.service.in
1 [Unit]
2 Description=Remove Stale Online ext4 Metadata Check Snapshots
3 Documentation=man:e2scrub_all(8)
4
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 ExecStart=@root_sbindir@/e2scrub_all -A -r
18 SyslogIdentifier=%N
19 RemainAfterExit=no
20
21 [Install]
22 WantedBy=default.target