diff options
author | Bill Nottingham <notting@redhat.com> | 2010-10-26 15:43:30 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-10-26 15:43:30 -0400 |
commit | 57abe2bcd4b228416f54bda6aa7912a711a21edb (patch) | |
tree | dbfcabeb2b090432b830bb68affd3aca9b0b6887 /systemd/system/fedora-autorelabel.service | |
parent | 7577c483e62806140a278d2eb9147ce835893f7c (diff) | |
download | initscripts-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/fedora-autorelabel.service')
-rw-r--r-- | systemd/system/fedora-autorelabel.service | 14 |
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 |