diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-09-28 03:18:23 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-28 03:18:23 +0200 |
commit | c0a1b6e92682facf74412ca77daeedcc60cb3115 (patch) | |
tree | 9a8e6808973e615749eb700da56db1e13f0b6a78 /units | |
parent | 5008d5815a6223f01c9fc4c803ec6ec18c8f4e54 (diff) |
units: enable mount units by default and hook binary units into base.target instead of sysinit.target, leaving the latter for sysv compatibility
Diffstat (limited to 'units')
-rw-r--r-- | units/hwclock-load.service | 2 | ||||
-rw-r--r-- | units/remount-rootfs.service | 3 | ||||
-rw-r--r-- | units/systemd-kmsg-syslogd.socket | 2 | ||||
-rw-r--r-- | units/systemd-random-seed-load.service.in | 1 | ||||
-rw-r--r-- | units/systemd-remount-api-vfs.service.in | 3 |
5 files changed, 3 insertions, 8 deletions
diff --git a/units/hwclock-load.service b/units/hwclock-load.service index 85d56db5d2..5285615e17 100644 --- a/units/hwclock-load.service +++ b/units/hwclock-load.service @@ -28,4 +28,4 @@ ExecStart=/sbin/hwclock --systz # system time as part of kernel setup. [Install] -WantedBy=sysinit.target +WantedBy=basic.target diff --git a/units/remount-rootfs.service b/units/remount-rootfs.service index 35a6ea08cc..089e8b5a2f 100644 --- a/units/remount-rootfs.service +++ b/units/remount-rootfs.service @@ -15,6 +15,3 @@ Before=shutdown.target local-fs.target Type=oneshot RemainAfterExit=yes ExecStart=/bin/mount / -o remount - -[Install] -WantedBy=sysinit.target diff --git a/units/systemd-kmsg-syslogd.socket b/units/systemd-kmsg-syslogd.socket index 7487cd5def..ace06fa563 100644 --- a/units/systemd-kmsg-syslogd.socket +++ b/units/systemd-kmsg-syslogd.socket @@ -17,4 +17,4 @@ ListenDatagram=/dev/log SocketMode=0666 [Install] -WantedBy=sysinit.target +WantedBy=basic.target diff --git a/units/systemd-random-seed-load.service.in b/units/systemd-random-seed-load.service.in index 087f7b6800..93cba95a6b 100644 --- a/units/systemd-random-seed-load.service.in +++ b/units/systemd-random-seed-load.service.in @@ -8,6 +8,7 @@ [Unit] Description=Load Random Seed DefaultDependencies=no +Wants=local-fs.target After=local-fs.target Conflicts=shutdown.target Before=shutdown.target diff --git a/units/systemd-remount-api-vfs.service.in b/units/systemd-remount-api-vfs.service.in index 2e19dbf05d..8ecf64f0e6 100644 --- a/units/systemd-remount-api-vfs.service.in +++ b/units/systemd-remount-api-vfs.service.in @@ -15,6 +15,3 @@ Before=shutdown.target local-fs.target Type=oneshot RemainAfterExit=yes ExecStart=@rootlibexecdir@/systemd-remount-api-vfs - -[Install] -WantedBy=sysinit.target |