[__single_binary_service] Do not use echo echo echo

This commit is contained in:
evilham 2021-08-04 21:02:37 +02:00
parent afa48b1028
commit 3e77fbbb43

View file

@ -123,10 +123,12 @@ WantedBy=multi-user.target
EOF
)"
fi
echo ${SERVICE_DEFINITION} | __systemd_unit "${SERVICE_NAME}.service" \
__systemd_unit "${SERVICE_NAME}.service" \
--source "-" \
--state "${STATE}" \
--enablement-state "enabled"
--enablement-state "enabled" <<EOF
${SERVICE_DEFINITION}
EOF
service_require="${service_require} __systemd_unit/${SERVICE_NAME}.service"
;;