Make z-way-server restart when crashed?

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
paaland
Posts: 16
Joined: 08 Jun 2017 09:24
Location: Norway

Make z-way-server restart when crashed?

Post by paaland » 26 Sep 2017 12:01

z-wave-server (2.3.5) stops for some reason after about a week on my system. No errors in the log, the process just dies. I can restart via ssh by running /etc/init.d/z-way-server start

Is there a quick way to add an automatic restart of the service on crash?

Thanks
Last edited by paaland on 26 Sep 2017 13:24, edited 1 time in total.

paaland
Posts: 16
Joined: 08 Jun 2017 09:24
Location: Norway

Re: Make z-wave-server restart when crashed?

Post by paaland » 26 Sep 2017 13:24

z-way-server uses the "old" compatibility support for init.d in Jessie. Unfortunately there is no /etc/inittab anymore to put respawn in.
Really it should be updated to use systemd. Tried to set that up manually. But z-way-server won't start.

Post Reply