diff options
author | Nicolas Iooss | 2017-01-14 11:19:47 +0100 |
---|---|---|
committer | Nicolas Iooss | 2017-01-14 11:19:47 +0100 |
commit | 3ed17f1cc65aeace94afa6000613e49616cf222f (patch) | |
tree | 5560c58c693f2ef9766b87a44ead7f01003a1baf /systemd-tmpfiles.hook | |
parent | 94484d635ee6b5fe337e581f139de317f792ebff (diff) | |
download | aur-3ed17f1cc65aeace94afa6000613e49616cf222f.tar.gz |
systemd-selinux 232-7 update
Diffstat (limited to 'systemd-tmpfiles.hook')
-rw-r--r-- | systemd-tmpfiles.hook | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd-tmpfiles.hook b/systemd-tmpfiles.hook new file mode 100644 index 000000000000..a2c5e3ef07ad --- /dev/null +++ b/systemd-tmpfiles.hook @@ -0,0 +1,11 @@ +[Trigger] +Type = File +Operation = Install +Operation = Upgrade +Target = usr/lib/tmpfiles.d/*.conf + +[Action] +Description = Creating temporary files... +When = PostTransaction +Exec = /bin/sh -c 'while read -r f; do /usr/bin/systemd-tmpfiles --create "/$f"; done' +NeedsTargets |