Lancer domoticz manuellement
$ cd domoticz
$ sudo ./domoticz -www 2030 -sslwww 443
tuto démarrage mise en place démarrage auto
https://www.sigmdel.ca/michel/ha/rpi/guide_buster_01_en.html
sudo systemctl status domoticz.service
sudo nano /etc/systemd/system/domoticz.service
[Unit] Description=domoticz_service
After=time-sync.target
[Service]
User=woopi
Group=users
ExecStart=/home/woopi/domoticz/domoticz -www 8080 -sslwww 443 WorkingDirectory=/home/woopi/domoticz AmbientCapabilities=CAP_NET_BIND_SERVICE
Restart=on-failure
RestartSec=1m [Install]
WantedBy=multi-user.target
sudo /etc/init.d/domoticz.sh stop
sudo mv /etc/init.d/domoticz.sh domoticz-sh
sudo systemctl daemon-reload
sudo systemctl start domoticz.service
sudo systemctl status domoticz.service
The following command will instruct systemd to automatically start the service at boot time.