Restart openhab on Synology via console / ssh?

Hi,

how can I restart the openhab service on my Synology station when I am connected to the console? I started it via the DSM UI, but I also want to be able to restart it via ssh and not only the DSM UI. Is it registered as a service somehow?

For the sake of Google let me document, what I found out while finding this lonely question on the first page of my Google results: Restarting Services on synology NAS works with “synoservice”:

synoservice -restart pkgctl-openHAB

More information concerning this can be found here: https://tech.setepontos.com/2018/03/25/control-synology-dsm-services-via-terminal-ssh/

1 Like