From 7577c483e62806140a278d2eb9147ce835893f7c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 26 Oct 2010 15:21:05 -0400 Subject: Drop fedora-mountall, fedora-cleanup. Adjust other services accordingly. systemd can do mount & fsck & quota, etc. now. --- systemd/system/fedora-autoswap.service | 4 ++-- systemd/system/fedora-cleanup.service | 13 ------------- systemd/system/fedora-mountall.service | 14 -------------- systemd/system/fedora-readonly.service | 5 ++--- 4 files changed, 4 insertions(+), 32 deletions(-) delete mode 100644 systemd/system/fedora-cleanup.service delete mode 100644 systemd/system/fedora-mountall.service (limited to 'systemd/system') diff --git a/systemd/system/fedora-autoswap.service b/systemd/system/fedora-autoswap.service index c5087967..8cd881d9 100644 --- a/systemd/system/fedora-autoswap.service +++ b/systemd/system/fedora-autoswap.service @@ -3,8 +3,8 @@ Description=Enable all detected swap partitions DefaultDependencies=no Conflicts=shutdown.target Before=shutdown.target emergency.service emergency.target -After=fedora-mountall.service fedora-init-crypto-3.service -Requires=fedora-mountall.service fedora-init-crypto-3.service +After=local-fs.target fedora-init-crypto-3.service +Requires=local-fs.target fedora-init-crypto-3.service [Service] ExecStart=/lib/systemd/fedora-autoswap diff --git a/systemd/system/fedora-cleanup.service b/systemd/system/fedora-cleanup.service deleted file mode 100644 index 3bbb12df..00000000 --- a/systemd/system/fedora-cleanup.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Clean out assorted temporary files -DefaultDependencies=no -Conflicts=shutdown.target -Before=shutdown.target emergency.service emergency.target local-fs.target -After=fedora-mountall.service fedora-readonly.service -Requires=fedora-mountall.service - -[Service] -ExecStart=/lib/systemd/fedora-cleanup -Type=oneshot -TimeoutSec=0 -RemainAfterExit=yes diff --git a/systemd/system/fedora-mountall.service b/systemd/system/fedora-mountall.service deleted file mode 100644 index af5cf79b..00000000 --- a/systemd/system/fedora-mountall.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=Check, mount, and relabel all filesystems -DefaultDependencies=no -Conflicts=shutdown.target -Before=shutdown.target emergency.service emergency.target remount-rootfs.service -After=fedora-storage-init.service fedora-init-crypto-2.service -Requires=fedora-storage-init.service fedora-init-crypto-2.service - -[Service] -ExecStart=/lib/systemd/fedora-mountall -Type=oneshot -TimeoutSec=0 -RemainAfterExit=yes -StandardInput=tty diff --git a/systemd/system/fedora-readonly.service b/systemd/system/fedora-readonly.service index c1e42367..eca197f0 100644 --- a/systemd/system/fedora-readonly.service +++ b/systemd/system/fedora-readonly.service @@ -2,9 +2,8 @@ Description=Configure read-only root support DefaultDependencies=no Conflicts=shutdown.target -Before=shutdown.target emergency.service emergency.target fedora-cleanup.service -After=fedora-mountall.service -Requires=fedora-mountall.service +Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service +After=remount-rootfs.service [Service] ExecStart=/lib/systemd/fedora-readonly -- cgit v1.2.1