Needs systemd unit or sysv init script, fix if-up.d script
Bug #1408651 reported by
Martin Pitt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mythtv (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
mythtv-backend only ships an upstart job. With https:/
On top of that, /etc/network/
stop mythtv-backend || true
start mythtv-backend || true
which is upstart specific. It must use "invoke-rc.d mythrv-backend restart" instead, which works for all init systems.
tags: | added: ifupdown systemd-boot |
summary: |
- Needs systemd unit or sysv init script + Needs systemd unit or sysv init script, fix if-up.d script |
Changed in mythtv (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
Changed in mythtv (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
pitti:
Thanks for adding this. Some quick questions regarding usage with systemd.
1) Will the Wants & After stanzas for mysql cause it to only start after mysql is fully spawned and functional? We made it work specifically to check for a valid mysql connection rather than just wait for the upstart job in the past because of race conditional
problems.
2) We were previously sourcing /etc/default/locale and explicitly setting the LANG. Can this still be accomplished with systemd?