From 37109fdf9808ffc87cfff5604c8ca445ffdec64c Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Wed, 30 May 2018 17:01:59 +0200 Subject: fedora-* services renamed to more general names This removes the OS flavour embedded into the initscripts. See also: https://bugzilla.redhat.com/show_bug.cgi?id=1584645 Resolves: #161 --- usr/lib/systemd/system/readonly-root.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 usr/lib/systemd/system/readonly-root.service (limited to 'usr/lib/systemd/system/readonly-root.service') 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 -- cgit v1.2.1 From ead5bff2561eae45007c8d9e949379c3454c0183 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Tue, 12 Jun 2018 16:56:10 +0200 Subject: specfile: services from /usr/lib/systemd moved to /usr/libexec --- usr/lib/systemd/system/readonly-root.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/lib/systemd/system/readonly-root.service') diff --git a/usr/lib/systemd/system/readonly-root.service b/usr/lib/systemd/system/readonly-root.service index 83af6acd..26d4a118 100644 --- a/usr/lib/systemd/system/readonly-root.service +++ b/usr/lib/systemd/system/readonly-root.service @@ -6,7 +6,7 @@ Before=shutdown.target emergency.service emergency.target systemd-tmpfiles-setup After=systemd-remount-fs.service [Service] -ExecStart=/usr/lib/systemd/readonly-root +ExecStart=/usr/libexec/readonly-root Type=oneshot TimeoutSec=0 RemainAfterExit=yes -- cgit v1.2.1