From 2113286be68aaf4a2f0423911758409b60d4e3c2 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Thu, 12 Jan 2017 17:58:38 -0300 Subject: systemd-232-7.parabola1: implement pacman hooks 'systemd-sysusers.hook' and 'systemd-tmpfiles.hook' --- libre/systemd/systemd-sysusers.hook | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libre/systemd/systemd-sysusers.hook (limited to 'libre/systemd/systemd-sysusers.hook') diff --git a/libre/systemd/systemd-sysusers.hook b/libre/systemd/systemd-sysusers.hook new file mode 100644 index 000000000..b0888d7cf --- /dev/null +++ b/libre/systemd/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