~ubuntu-branches/ubuntu/vivid/init-system-helpers/vivid

Viewing all changes in revision 27.

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2014-11-07 15:01:27 UTC
  • Revision ID: package-import@ubuntu.com-20141107150127-i66uckebwe4ot1xn
Tags: 1.22ubuntu2
* deb-system-invoke: don't start disabled systemd services (in case
  of systemd only services), when there is no init script. (Closes: #768456)
  Add some conditions to start the job on deb-system-invoke [restart|start],
  during package upgrade:
  - deb-system-invoke start <unit> doesn't do anything on systemd if the
    unit is disabled or static.
  - deb-system-invoke restart <unit> only restarts a disabled or static unit
    if the daemon was already running (forced by the admin).
  - in case of multiple units in error passed to deb-system-invoke, this one
    will exit with last unit in errror exit code.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: