• David Johnson's avatar
    Systemd units for testbed and tbprepare; consistent systemd install. · fcd7f0d6
    David Johnson authored
    Currently ubuntu15 and centos7 are our only systemd-based OSes; they
    both call into the clientside/tmcc/linux generic Makefile with the
    right magic bits to get the systemd sysetc-install/remove targets.
    For now, systemd is effectively the same on centos7 or ubuntu15, so
    we use the same scripts and install strategy from tmcc/linux for
    both (except for ntpd on centos7, which stays as it was).
    
    I used the same testbed/tbprepare sysv init scripts in tmcc/linux,
    but I installed them in BINDIR/initscripts in a lame attempt to
    avoid confusion ;).  I modified the testbed script slightly so
    it looks for a magic file in /etc/emulab/(uses-systemd) to know
    that systemd will start the testbed service, and that it should
    not get started from rc.local .  So those lines are now back in
    the generic linux testbed script -- just unused if the init is
    not systemd (in which case rc.local starts it).
    
    These units do print out to both the systemd journal and to the
    console.
    fcd7f0d6
Name
Last commit
Last update
..
GNUmakefile.in Loading commit data...
dhclient-enter-hooks Loading commit data...
dhclient-exit-hooks Loading commit data...
dhcpd.conf Loading commit data...
findcnet Loading commit data...
genirack.sh Loading commit data...
group Loading commit data...
gshadow Loading commit data...
hosts Loading commit data...
ifup-wait-emulab-cnet.service Loading commit data...
interfaces Loading commit data...
interfaces-genirack Loading commit data...
isc-dhcp-server Loading commit data...
passwd Loading commit data...
rc-sysinit.conf Loading commit data...
rc.local Loading commit data...
rsyslog-emulab.conf Loading commit data...
shadow Loading commit data...