1
0
mirror of https://github.com/lxc/lxcfs.git synced 2026-02-05 09:46:18 +01:00
Files
lxcfs/config/init/upstart/Makefile.am
Serge Hallyn 6cb7f996ca Add upstart and systemd init jobs
Mostly copied from the Ubuntu package.

Note someone still needs to write the bsd and gentoo init
scripts.  (You can look at the sysvinit jobs here and the
bsd+gentoo jobs in git://github.com/lxc/cgmanager for
inspiration).

Closes #71

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2016-02-23 12:04:35 -08:00

15 lines
362 B
Makefile

EXTRA_DIST = lxcfs.conf
if INIT_SCRIPT_UPSTART
install-upstart: lxcfs.conf
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/init/
$(INSTALL_DATA) lxcfs.conf $(DESTDIR)$(sysconfdir)/init/
uninstall-upstart:
rm -f $(DESTDIR)$(sysconfdir)/init/lxcfs.conf
rmdir $(DESTDIR)$(sysconfdir)/init || :
install-data-local: install-upstart
uninstall-local: uninstall-upstart
endif