diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-12 17:58:38 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2017-01-13 02:18:15 -0300 |
commit | 2113286be68aaf4a2f0423911758409b60d4e3c2 (patch) | |
tree | 959c5a79f76b88023a62e95b1d3350f86dd1ab2e /libre/systemd/systemd-sysusers.hook | |
parent | 59714ff2ee04eea48ab6b6fcb9ccc4de0088d0ec (diff) | |
download | abslibre-2113286be68aaf4a2f0423911758409b60d4e3c2.tar.gz abslibre-2113286be68aaf4a2f0423911758409b60d4e3c2.tar.bz2 abslibre-2113286be68aaf4a2f0423911758409b60d4e3c2.zip |
systemd-232-7.parabola1: implement pacman hooks 'systemd-sysusers.hook' and 'systemd-tmpfiles.hook'
Diffstat (limited to 'libre/systemd/systemd-sysusers.hook')
-rw-r--r-- | libre/systemd/systemd-sysusers.hook | 11 |
1 files changed, 11 insertions, 0 deletions
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 |