aboutsummaryrefslogtreecommitdiffstats
path: root/scrub/e2scrub_all.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'scrub/e2scrub_all.service.in')
-rw-r--r--scrub/e2scrub_all.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/scrub/e2scrub_all.service.in b/scrub/e2scrub_all.service.in
new file mode 100644
index 00000000..bc05184b
--- /dev/null
+++ b/scrub/e2scrub_all.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=Online ext4 Metadata Check for All Filesystems
+ConditionACPower=true
+Documentation=man:e2scrub_all(8)
+
+[Service]
+Type=oneshot
+Environment=SERVICE_MODE=1
+ExecStart=@root_sbindir@/e2scrub_all
+SyslogIdentifier=e2scrub_all