diff options
| author | Yurii Kolesnykov <yurikoles@gmail.com> | 2017-01-23 16:59:50 +0300 |
|---|---|---|
| committer | Yurii Kolesnykov <yurikoles@gmail.com> | 2017-01-23 17:01:54 +0300 |
| commit | c3ff255f8a97c99c062d422a5a793c00864d4064 (patch) | |
| tree | 1706cab4553f8bebe94157158a94c537e8ca200b /systemd-sysusers.hook | |
| parent | b72b01bb7eb2f8a3e7ff07f5cff3afeb68a6d84d (diff) | |
| download | systemd-git-c3ff255f8a97c99c062d422a5a793c00864d4064.tar.gz systemd-git-c3ff255f8a97c99c062d422a5a793c00864d4064.tar.bz2 | |
port arch changes
Diffstat (limited to 'systemd-sysusers.hook')
| -rw-r--r-- | systemd-sysusers.hook | 11 |
1 files changed, 11 insertions, 0 deletions
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 |
