[lxc-devel] [lxc/lxc] 87ff95: Support files for systemd on Fedora.

GitHub noreply at github.com
Thu Nov 21 17:25:43 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d
      https://github.com/lxc/lxc/commit/87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d
  Author: Michael H. Warfield <mhw at WittsEnd.com>
  Date:   2013-11-21 (Thu, 21 Nov 2013)

  Changed paths:
    M lxc.spec.in
    A src/lxc/lxc-devsetup
    A src/lxc/lxc.service

  Log Message:
  -----------
  Support files for systemd on Fedora.

Added a file "lxc.service" for a systemd service file.

Added a file "lxc-devsetup" to setup /dev/ on startup to support autodev
in containers.

Service file references lxc-devsetup as an ExecStartPre command.  The
lxc-devsetup script is not dependent on systemd or Fedora and can
be used at bootup on any system.

Modified lxc.spec.in to install the two new files on Fedora.  The systemd
specific code in the lxc.spec file may need some review and conditionalize
for systemd on non-systemd rpm-based systems.

Signed-off-by: Michael H. Warfield <mhw at WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>





More information about the lxc-devel mailing list