Ga naar de inhoud
Home » Domoticz opstarten met een systemd service file

Domoticz opstarten met een systemd service file

Domoticz Blog Header

Domoticz start standaard op via /etc/init.d/domoticz.sh dat is iets van vroeger. Hier de systemd service file die het ook doet

[Unit]
Description=Domoticz Home Automation System (native systemd service)
After=network.target time-sync.target

[Service]
Type=simple
User=pi
Group=pi
WorkingDirectory=/home/pi/domoticz

ExecStart=/home/pi/domoticz/domoticz -www 8080 -sslwww 0
Restart=on-failure

[Install]
WantedBy=multi-user.target