handle tmpfiles in rpm

This commit is contained in:
Michael Legleux
2026-03-30 16:21:17 -07:00
parent 96a6922bce
commit fe47e5adb2
2 changed files with 4 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ install -Dm0644 %{SOURCE8} %{buildroot}%{_opt_prefix}/bin/update-xrpld-cron
%sysusers_create_compat %{SOURCE4}
%post
systemd-tmpfiles --create %{_tmpfilesdir}/xrpld.conf || :
%systemd_post xrpld.service
%preun

View File

@@ -1,2 +1,5 @@
d /var/lib/xrpld 0750 xrpld xrpld -
d /var/lib/xrpld/db 0750 xrpld xrpld -
d /var/log/xrpld 0750 xrpld xrpld -
d /var/opt/ripple/lib 0750 xrpld xrpld -
d /var/opt/ripple/log 0750 xrpld xrpld -