osi-tools/abs/systemd-232/systemd-sysusers.hook

12 lines
269 B
Plaintext

[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