Rest API, setting values

Continued Here: https://community.openhab.org/t/openhab-shutdown-in-docker-causing-container-restart