Page 1 of 1

Help setting up startup-script [Ubuntu]

Posted: Wednesday 31 August 2016 0:30
by PABben
It seems strange that there is not any other topics about this so i'll either retarded or everyone understands what i dont ^^

I'm trying to set up a script to start domoticz on startup on a ubuntu 16.04 desktop. I've tried to follow the wiki and manual, but i don't understand what i'm supposed to edit? "USERNAME, DAEMON and DEAMON_ARGS" <-- what do i replace with, and wich of them?

I replaced the "USERNAME=" from "pi" to my ubuntu username.
Can anyone give me an startup script example?

Re: Help setting up startup-script [Ubuntu]

Posted: Wednesday 31 August 2016 20:22
by MatthijsPH
I'm running Domoticz on an Ubuntu server as well. There is not much to change:

Code: Select all

USERNAME=your_username
and make sure the path is right:

Code: Select all

DAEMON=/home/$USERNAME/domoticz/$NAME
for standard installation.

Re: Help setting up startup-script [Ubuntu]

Posted: Wednesday 31 August 2016 21:21
by GoranLundberg
Hi!
I'm currently in process of updating the wiki for linux installations.
And I just updated that section when I saw your post. Please read it again and if something is unclear please get back to me here so that i can fix it in the wiki.
http://www.domoticz.com/wiki/Linux#Star ... stem_boots

Re: Help setting up startup-script [Ubuntu]

Posted: Wednesday 31 August 2016 22:17
by PABben
Thank you guys! You are awesome!
It's working now :)