mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
handle tmpfiles in rpm
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user