amqproxy icon indicating copy to clipboard operation
amqproxy copied to clipboard

Debian 10 - Upgrading replaces service file so requires manual changes after patching

Open madhancock opened this issue 3 years ago • 1 comments

We recently upgraded from 0.5.6 to 0.7.0.

This upgrade apparently replaced the /etc/systemd/system/amqproxy.service file which needs to be modified to include the target rabbitmq service which subsequently turned maintenance into an outage.

I can see there's some level of .ini support but it's not documented in the readme file and it's unclear without actually using it how it behaves with the .service file. E.g. does it override the defaults included in the service file? - If it doesn't then if the service file is reset the ini file isn't going to protect the configuration state.

madhancock avatar Sep 22 '22 16:09 madhancock

For changes to the service file you should create an override.conf, preferably using systemctl edit amqproxy, that will not be overwritten by any packet changes/upgrades.

carlhoerberg avatar Sep 22 '22 20:09 carlhoerberg

@carlhoerberg I've just installed 0.8.1-1 from package cloud per the readme and the systemd service still has ExecStart=/usr/bin/amqproxy -p 5673 amqp://127.0.0.1:5672

There is an example service and example config can we get that in the deb package (with the ini tagged as a config file) instead of the override.conf method above ?

timothyclarke avatar Nov 25 '22 13:11 timothyclarke

Yes, will come with the next release.

carlhoerberg avatar Nov 25 '22 13:11 carlhoerberg

@carlhoerberg If the next release is going to be a while away, is there any chance of getting 0.8.1-2 with the systemd changes sooner ?

timothyclarke avatar Nov 25 '22 13:11 timothyclarke

Available in the Artifacts here: https://github.com/cloudamqp/amqproxy/actions/runs/3544098825

carlhoerberg avatar Nov 25 '22 21:11 carlhoerberg