Change domoticz system user

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
devros
Posts: 183
Joined: Saturday 29 October 2016 20:55
Target OS: -
Domoticz version:
Contact:

Change domoticz system user

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest