1
0
mirror of https://github.com/lxc/lxcfs.git synced 2026-02-05 09:46:18 +01:00
Files
lxcfs/config/init/sysvinit/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
377 B
Makefile

EXTRA_DIST = lxcfs
if INIT_SCRIPT_SYSV
install-sysvinit: lxcfs
$(MKDIR_P) $(DESTDIR)$(sysconfdir)/rc.d/init.d
$(INSTALL_SCRIPT) lxcfs $(DESTDIR)$(sysconfdir)/rc.d/init.d/lxcfs
uninstall-sysvinit:
rm -f $(DESTDIR)$(sysconfdir)/rc.d/init.d/lxcfs
rmdir $(DESTDIR)$(sysconfdir)/rc.d/init.d || :
install-data-local: install-sysvinit
uninstall-local: uninstall-sysvinit
endif