--- mcore-src/trunk/mcore-tools/daemon/client/include/systemd.client.class 2013/05/10 13:15:26 2084 +++ mcore-src/trunk/mcore-tools/daemon/client/include/systemd.client.class 2013/05/10 13:29:29 2089 @@ -30,6 +30,13 @@ return 1 fi + # auto-append .service to fix issues while $MROOT is set + if [[ -n $(echo ${service} | grep -v '.service$\|.target$\|.mount$\|.socket$\|.timer$') ]] + then + service="${service}.service" + decho "\$service replaced with '${service}'" + fi + case "${command}" in start) ${chrooted} systemctl start "${service}" ;; stop) ${chrooted} systemctl stop "${service}" ;;