From 57abe2bcd4b228416f54bda6aa7912a711a21edb Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 26 Oct 2010 15:43:30 -0400 Subject: Add autorelabel service. --- systemd/system/fedora-autorelabel.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 systemd/system/fedora-autorelabel.service (limited to 'systemd/system/fedora-autorelabel.service') 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 -- cgit v1.2.1