mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #09201
[Bug 1408651] Re: Needs systemd unit or sysv init script, fix if-up.d script
Oh, forgot: If you experiment with that locally, you can add something
like
ExecStartPre=/bin/sh -c "[shell code]"
to the unit. As I said, if this is actually necessary this logic should
rather go to /etc/init.d/mysql.
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/1408651
Title:
Needs systemd unit or sysv init script, fix if-up.d script
Status in mythtv package in Ubuntu:
Fix Released
Bug description:
mythtv-backend only ships an upstart job. With
https://blueprints.launchpad.net/ubuntu/+spec/core-1411-systemd-
migration it needs an init.d script or a systemd script to also work
under systemd.
On top of that, /etc/network/if-up.d/mythtv-backend.if-up.d does
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1408651/+subscriptions
References