From c3ff255f8a97c99c062d422a5a793c00864d4064 Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Mon, 23 Jan 2017 16:59:50 +0300 Subject: port arch changes --- systemd-sysusers.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 systemd-sysusers.hook (limited to 'systemd-sysusers.hook') diff --git a/systemd-sysusers.hook b/systemd-sysusers.hook new file mode 100644 index 0000000..b0888d7 --- /dev/null +++ b/systemd-sysusers.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/lib/sysusers.d/*.conf + +[Action] +Description = Updating system user accounts... +When = PostTransaction +Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-sysusers "/$f" ; done' +NeedsTargets -- cgit v1.2.3-70-g09d2