chiark / gitweb /
units: run sysctl stuff only when /proc/sys is actually writable, to quieten containe...
[elogind.git] / units / remount-rootfs.service
index e95023f03d5bd2b5bf87519d057241c77991915c..6ca057ec67127f5f742710d84b7e3a511c35a12c 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]
@@ -10,10 +10,10 @@ Description=Remount Root FS
 DefaultDependencies=no
 Conflicts=shutdown.target
 After=systemd-readahead-collect.service systemd-readahead-replay.service fsck-root.service
-Before=local-fs.target shutdown.target
+Before=local-fs-pre.target local-fs.target shutdown.target
+Wants=local-fs-pre.target
 
 [Service]
 Type=oneshot
 RemainAfterExit=yes
 ExecStart=/bin/mount / -o remount
-StandardOutput=syslog