Seedfiles
A portable drop-in reimplementation of systemd-tmpfiles.
Implements pretty much all of systemd-tmpfiles, searches the same config paths and allows for per-user configs.
Diferences to systemd-tmpfiles
Following features are not implemented in seedfiles, but exist in systemd-tmpfiles. If any feature is needed but not implemented, feel free to open an issue or send a patch!
Item types:
-
e- Adjusting permissions on existing directory
Modifiers:
-
^- reading arguments from systemd-credentials -
$- entries for--purge -
?- skip symlink creation if target doesn't exist
CLI Flags:
-
--purge- Delete everything that would have been created -
--cat-config- Print all resolved config files -
--tldr- Same as--cat-configbut without comments -
--graceful- Silently ignoring users/groups -
-E- Exclude/dev,/proc,/runand/sysprefixes -
--image- Operate on a disk image -
--image-policy- Disk image policy -
--replace- Replace specific config files -
--inline- Passing rules as arguments instead of stdin. Just use stdin.
Missing Features/Subsystems
- SELinux - No label management, z/Zonly do chmod/chown
- age-by - Timestamp in age column is ignored, only mtime is checked by cleanup
- credentials - No systemd-credentials support
- BTRFS - v/q/Q fall back to mkdir, don't act on subvolumes/quotas
Source
Seedfiles can be downloaded from https://git.pinkro.se/Rose/gardenhouse/seedfiles.git/about/
It's also mirrored to Codeberg where bugtracking is done.
A sys-apps/seedfiles port is available in the ::gentoo repository
A seedfiles package is also available in debian and any debian deriviatives.