chiark / gitweb /
readahead: rather than checking for virtualization in the C code, use ConditionVirtua...
[elogind.git] / units / remount-rootfs.service
index 7b63752c7e4fd69e264d2d1ba5a3e6954229a420..52a70743bc2a60e3d181460a26f5aefdc91802da 100644 (file)
@@ -1,8 +1,8 @@
 #  This file is part of systemd.
 #
 #  systemd is free software; you can redistribute it and/or modify it
-#  under the terms of the GNU General Public License as published by
-#  the Free Software Foundation; either version 2 of the License, or
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
 #  (at your option) any later version.
 
 [Unit]
@@ -12,6 +12,7 @@ Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service
 Before=local-fs-pre.target local-fs.target shutdown.target
 Wants=local-fs-pre.target
+ConditionPathExists=/etc/fstab
 
 [Service]
 Type=oneshot