Help setting up startup-script [Ubuntu] Topic is solved

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
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Help setting up startup-script [Ubuntu]

Post 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?
MatthijsPH
Posts: 15
Joined: Friday 01 May 2015 19:27
Target OS: Linux
Domoticz version: 3.5305
Location: The Netherlands
Contact:

Re: Help setting up startup-script [Ubuntu]

Post 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.
GoranLundberg
Posts: 7
Joined: Sunday 07 August 2016 22:49
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sweden
Contact:

Re: Help setting up startup-script [Ubuntu]

Post 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
Server: Raspberry Pi1 B+ Hardware: RFXCOM - RFXtrx433 USB Transciever Domoticz: Beta Channel Keybase: https://keybase.io/goranlundberg
PABben
Posts: 48
Joined: Friday 31 January 2014 14:32
Target OS: Windows
Domoticz version:
Location: Norway
Contact:

Re: Help setting up startup-script [Ubuntu]

Post by PABben »

Thank you guys! You are awesome!
It's working now :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest