aboutsummaryrefslogtreecommitdiffstats
path: root/usr/lib/systemd/system/readonly-root.service
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/system/readonly-root.service')
-rw-r--r--usr/lib/systemd/system/readonly-root.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/readonly-root.service b/usr/lib/systemd/system/readonly-root.service
new file mode 100644
index 00000000..83af6acd
--- /dev/null
+++ b/usr/lib/systemd/system/readonly-root.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Configure read-only root support
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service local-fs.target systemd-random-seed.service
+After=systemd-remount-fs.service
+
+[Service]
+ExecStart=/usr/lib/systemd/readonly-root
+Type=oneshot
+TimeoutSec=0
+RemainAfterExit=yes
+
+[Install]
+WantedBy=local-fs.target