#29483 closed task (fixed)

Use systemd init script for BridgeDB

Reported by: dgoulet Owned by: dgoulet
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Normal Keywords: bridgedb, network-team-roadmap-2019-Q1Q2
Cc: cohosh, hiro Actual Points:
Parent ID: Points: 0.5
Reviewer: sysrqb Sponsor: Sponsor19


The bridgedb process is executed in a cron at bootup. So if it crashes, we do not know about it because lack of monitoring but also it won't be restarted.

Lets move this out of the cron and into a systemd init script. The machine is Debian 9.7 so systemd is stable there and what should be used.

Child Tickets

Change History (6)

comment:1 Changed 18 months ago by dgoulet

Points: 0.5
Sponsor: Sponsor19

comment:2 Changed 17 months ago by dgoulet

Status: assignedneeds_review

Branch: ticket29483_01.

Will require a bit more testing in production but we should be close to what we need at first. Ultimately, I would like us to drop run-bridgedb and reload-bridgedb in favor of this init script. But we aren't there yet.

comment:3 Changed 17 months ago by sysrqb

Status: needs_reviewneeds_information

I'm not sure I'm a good reviewer for this :) Maybe one of the sysadmins, who is more familiar with systemd scripts, is willing to review this?

Reading the script it lgtm, but I don't know if anything is missing.

comment:4 Changed 17 months ago by gaba

Keywords: network-team-roadmap-2019-Q1Q2 added

comment:5 Changed 17 months ago by gaba

Cc: hiro added

comment:6 Changed 17 months ago by sysrqb

Resolution: fixed
Status: needs_informationclosed

merged. We can iterate on this later.

Note: See TracTickets for help on using tickets.