Page 1 of 1

Change domoticz system user

Posted: Monday 24 April 2017 21:02
by devros
hello, my current domoticz works great but when i check process it works on root...
in /etc/init.d/domoticz.sh is USERNAME=pi, but domoticz still works only as root, anyone know how to solve this or what to check..?

im on armbian orangepi lite...
here is my service output

Code: Select all

● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh)
   Active: active (running) since Mon 2017-04-24 20:55:19 CEST; 6min ago
  Process: 949 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
  Process: 973 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/domoticz.service
           └─978 /home/pi/domoticz/domoticz -daemon -www 8050 -sslwww 443

Apr 24 20:55:19 orangepilite domoticz.sh[973]: 2017-04-24 20:55:19.619  Domoticz V3.7377 (c)2012-2017 GizMoCuz
Apr 24 20:55:19 orangepilite domoticz.sh[973]: 2017-04-24 20:55:19.619  Build Hash: 2b6e719, Date: 2017-04-23 11:09:03
Apr 24 20:55:19 orangepilite domoticz[977]: Domoticz is starting up....
Apr 24 20:55:19 orangepilite domoticz[978]: Domoticz running...
Apr 24 20:55:19 orangepilite domoticz.sh[973]: 2017-04-24 20:55:19.620  Startup Path: /home/pi/domoticz/
Apr 24 20:55:19 orangepilite domoticz.sh[973]: domoticz: Domoticz is starting up....
Apr 24 20:55:19 orangepilite systemd[1]: Started LSB: Home Automation System.
Hint: Some lines were ellipsized, use -l to show in full.
thanks