So I got tired of having to stop HASS, start ozwcp, then stop ozwcp and start hass…or even the few times where i did one without doing the other.
I modified the systemd file for HASS and added a conflict directive to look out for my newly created ozwcp systemd file. Now when starting HASS, if ozwcp is running, it will stop ozwcp first. I did the same in the ozwcp systemd file, but I did not enabled ozwcp to start on boot.
Now, all i have to do is systemctl start ozwcp.service or systemctl start home-assistant.service
Below are the systemd unit files, in case anyone wants to use, comment or improve
Description=Open ZWave Control Panel
#ensures that home-assistant is not running, if it is, stop it
#replace with the name of your home-assistant systemd file
#assumes system user homeassistant exists
#directory for ozwcp
#execution path for ozwcp
ExecStart= /srv/homeassistant/src/open-zwave-control-panel/ozwcp -p 8888
#make sure the virtualenv python binary is used
ExecStart=/srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant"