bitwarden_rs_rpm icon indicating copy to clipboard operation
bitwarden_rs_rpm copied to clipboard

CentOS: Configuration is overwritten after update

Open muelheim-ruhr opened this issue 5 years ago • 1 comments

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

muelheim-ruhr avatar Jan 06 '20 09:01 muelheim-ruhr

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

nathanbriley avatar Jun 24 '20 18:06 nathanbriley