bitwarden_rs_rpm
bitwarden_rs_rpm copied to clipboard
CentOS: Configuration is overwritten after update
After each update, the configuration file is overwritten with the standard file, after which the service is restarted and fails. Is it possible to refer to another local configuration in the configuration file (e.g. INCLUDE_CONFIG=/opt/bitwarden-rs/bitwarden-rs-local.conf) or to prevent overwriting in another way?
CentOS 7.7.1908 bitwarden_rs 1.13.1.gitbaf7d1b
Just experienced this when updating to 1.15.1 . I believe if line 59 in bitwarden_rs.spec is changed then it will behave like other services where customized configs aren't overwritten but instead you get the .rpmnew version.
%config %{service_configdir}/bitwarden-rs.conf
to
%config(noreplace) %{service_configdir}/bitwarden-rs.conf