aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-26 15:43:30 -0400
committerBill Nottingham <notting@redhat.com>2010-10-26 15:43:30 -0400
commit57abe2bcd4b228416f54bda6aa7912a711a21edb (patch)
treedbfcabeb2b090432b830bb68affd3aca9b0b6887 /systemd/system
parent7577c483e62806140a278d2eb9147ce835893f7c (diff)
downloadinitscripts-57abe2bcd4b228416f54bda6aa7912a711a21edb.tar
initscripts-57abe2bcd4b228416f54bda6aa7912a711a21edb.tar.gz
initscripts-57abe2bcd4b228416f54bda6aa7912a711a21edb.tar.bz2
initscripts-57abe2bcd4b228416f54bda6aa7912a711a21edb.tar.xz
initscripts-57abe2bcd4b228416f54bda6aa7912a711a21edb.zip
Add autorelabel service.
Diffstat (limited to 'systemd/system')
-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