aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/fedora-autorelabel.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system/fedora-autorelabel.service')
-rw-r--r--systemd/system/fedora-autorelabel.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/system/fedora-autorelabel.service b/systemd/system/fedora-autorelabel.service
new file mode 100644
index 00000000..bca3f956
--- /dev/null
+++ b/systemd/system/fedora-autorelabel.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Relabel all filesystems, if necessary
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target
+After=local-fs.target
+Requires=remount-rootfs.service local-fs.target
+
+[Service]
+ExecStart=/lib/systemd/fedora-autorelabel
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+StandardInput=tty