Thingspeak as daemon at system boot (startup) ubuntu 12.04 | GitHub Installation | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Thingspeak as daemon at system boot (startup) ubuntu 12.04
No permission to create posts
April 2, 2014
9:16 am
Avatar
adms
New Member
Members
Forum Posts: 1
Member Since:
April 2, 2014
sp_UserOfflineSmall Offline

Hi
I am trying to configure my own "Thingspeak" server on ubuntu 12.04 lts virtual machine. I introduced this commands on terminal (installation on clean install of ubuntu): https://github.com/other/ThingSpeak but at the final i use: rvmsudo rails server -d -b -p 80 This command let me run Thingspeak app on port 80 as a daemon. It works well, but when the server reboot (sudo reboot for example) the thingspeak server shut down and i don't want this, i want to automatically (on booting or startup) start the thingspeak server so i don't need to manually use in terminal the rvmsudo command again. How can i achieve this? Thanks a lot for your attention
PD:I try to add the command in /etc/rc.local but nothing happens, i probed with /etc/init.d but it is a directory not a file

April 2, 2014
11:20 am
Avatar
lee

Admin
Forum Posts: 457
Member Since:
March 14, 2011
sp_UserOfflineSmall Offline

Hi,

You can also research using crontab, and executing your linux command at every reboot.

lee

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

swatiiot, kalyanigaware16@gmail.com, Romi, Drakan01, majidkhan7, atharvganla

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457