Open ben33880 opened 7 years ago
I don't use domoticz so I'm not really sure but I wouldn't recommend updating from the domoticz gui. The domoticz package in the omv-extras repo is the latest stable version. When you updated, you are installing a beta version.
Ok but i need to be on beta channel !! when u update with the gui on beta, its the "updatebeta.sh" script that update domoticz :
Perhaps it can help !!
The update doesn't like the systemd unit file I put in the package. Not sure when I will have time to look at this.
command "service domoticz start" works, but not "service domoticz stop"
i saw in the wiki of domoticz : Systemd Alternative
Open the systemd configuration file :
vi /etc/systemd/system/domoticz.service
[Unit] Description=domoticz_service [Service] User=domoticz Group=domoticz ExecStart=/home/domoticz/domoticz/domoticz -www 80 -sslwww 443 WorkingDirectory=/home/domoticz
ExecStartPre=setcap 'cap_net_bind_service=+ep' /home/domoticz/domoticz/domoticz
Restart=on-failure
RestartSec=1m
#StandardOutput=null
[Install] WantedBy=multi-user.target
It may not work with the update but the unit file included with the package works with the version it includes - https://github.com/OpenMediaVault-Plugin-Developers/domoticz/blob/master/debian/domoticz.service Since you are manually updating, you can manually update your service file to look like that. Like I said before, I will look at this when I have more time but it is low priority.
hi, Just installing your plugin, i do an update of domoticz with domoticz gui. Since, i cant stop the service with "service domoticz stop", i must kill the process. Is it a bug or its me ?
Thanks.