diff --git a/elements/os-config-applier/install.d/10-os-config-applier b/elements/os-config-applier/install.d/10-os-config-applier index ca4446eb..1fe4347c 100755 --- a/elements/os-config-applier/install.d/10-os-config-applier +++ b/elements/os-config-applier/install.d/10-os-config-applier @@ -7,8 +7,26 @@ pip install -U git+https://github.com/tripleo/os-config-applier.git TEMPLATE_ROOT=$(os-config-applier --print-templates) mkdir -p $TEMPLATE_ROOT -cat > /etc/init/os-config-applier.conf <<- eof +# Upstart +if [ -d /etc/init ] ; then + cat > /etc/init/os-config-applier.conf < /etc/systemd/system/os-config-applier.service < /etc/init/os-refresh-config.conf <<- eof +# Upstart +if [ -d /etc/init ] ; then + cat > /etc/init/os-refresh-config.conf < /etc/systemd/system/os-refresh-config.service <