]> git.proxmox.com Git - pve-container.git/commit
add new pve-container units
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 11 Oct 2017 12:13:11 +0000 (14:13 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 13 Oct 2017 11:16:31 +0000 (13:16 +0200)
commit395139e2cc1ff0e8476dcba48574b5c4c7bac653
tree85dee67a383f8a04ee39e2cd7e0ee15ae4a38005
parentbb453632dd09a7356acac96a692a7b7e7788559c
add new pve-container units

to replace lxc@.service.

we want our unit to only start when manually invoked (by our code), and
stop on shutdown via pve-guests or pve-ha-lrm. lxc@ units are stopped by
systemd on shutdown, because of transitive dependencies.

since all instances of template service units are by default assigned to
a new slice with DefaultDependencies=yes, we also need to introduce our
own custom slice with DefaultDependencies=no.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/Makefile
src/pve-container-stop-wrapper [new file with mode: 0755]
src/pve-container@.service [new file with mode: 0644]
src/system-pve\x2dcontainer.slice [new file with mode: 0644]