]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blob - scrub/e2scrub_reap.service.in
e2scrub: remove -C from e2scrub_all
[thirdparty/e2fsprogs.git] / scrub / e2scrub_reap.service.in
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)
6
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
23
24 [Install]
25 WantedBy=default.target