]>
Commit | Line | Data |
---|---|---|
a2df5894 DW |
1 | [Unit] |
2 | Description=Remove Stale Online ext4 Metadata Check Snapshots | |
06014d72 TT |
3 | ConditionCapability=CAP_SYS_ADMIN |
4 | ConditionCapability=CAP_SYS_RAWIO | |
198cbd45 | 5 | Documentation=man:e2scrub_all(8) |
a2df5894 DW |
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 | |
6ec2060a DW |
19 | Environment=SERVICE_MODE=1 |
20 | ExecStart=@root_sbindir@/e2scrub_all -A -r | |
a2df5894 DW |
21 | SyslogIdentifier=%N |
22 | RemainAfterExit=no | |
23 | ||
24 | [Install] | |
25 | WantedBy=default.target |