]> git.proxmox.com Git - mirror_lxc.git/commit
Support files for systemd on Fedora.
authorMichael H. Warfield <mhw@WittsEnd.com>
Tue, 12 Nov 2013 01:10:29 +0000 (20:10 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 21 Nov 2013 17:25:35 +0000 (11:25 -0600)
commit87ff951e680d7984cbfdc1c4ff378d47fe8a0f1d
tree3601fcf1a8c44f468ea8031a7715cd5947955a0e
parent24ef39f4d54e83996129463f7138ba90b26a166a
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@WittsEnd.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
lxc.spec.in
src/lxc/lxc-devsetup [new file with mode: 0755]
src/lxc/lxc.service [new file with mode: 0644]