blob: b0536151c901d3556854067b57c8128d7c93c005 [file] [log] [blame]
[Unit]
Description=Remove Stale Online ext4 Metadata Check Snapshots
Documentation=man:e2scrub_all(8)
[Service]
Type=oneshot
WorkingDirectory=/
PrivateNetwork=true
ProtectSystem=true
ProtectHome=read-only
PrivateTmp=yes
AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_RAWIO
NoNewPrivileges=yes
User=root
IOSchedulingClass=idle
CPUSchedulingPolicy=idle
ExecStart=@root_sbindir@/e2scrub_all -A -r
SyslogIdentifier=%N
RemainAfterExit=no
[Install]
WantedBy=default.target