aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/fedora-readonly.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/system/fedora-readonly.service')
-rw-r--r--systemd/system/fedora-readonly.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/systemd/system/fedora-readonly.service b/systemd/system/fedora-readonly.service
new file mode 100644
index 00000000..eca197f0
--- /dev/null
+++ b/systemd/system/fedora-readonly.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Configure read-only root support
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup.service
+After=remount-rootfs.service
+
+[Service]
+ExecStart=/lib/systemd/fedora-readonly
+Type=oneshot
+TimeoutSec=0
+StandardInput=tty
+RemainAfterExit=yes