LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2014, 10:46 AM   #1
lik86
LQ Newbie
 
Registered: Oct 2011
Posts: 7

Rep: Reputation: Disabled
Lightbulb How to run program at startup?


Hi, i need help, i will try to describe my problem:

I'm using Debian 7 and some software for video transcoding;
i have access to terminal only via ssh;

I can start the app by caling "screen" then i need to enter for example;

cd /ipsoft/tv/

then run the app ./nameoffapp

This option is runing fine, and any other option without screen terminate my app by closing connection with terminal immediately.

So my question is: How can i run this program automaticly at startup, if i have unplanned reboot...?

I tried rc.local but it's not working
 
Old 09-06-2014, 09:50 PM   #2
Sebastian Astill
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
You can script the commands in the file ~/.bash_login which usually runs automatically at login.

See this Arch wiki page.

Last edited by Sebastian Astill; 09-06-2014 at 09:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run a console program at startup BonScott73 Linux - Newbie 2 05-20-2008 07:30 PM
run program as service with startup theboss Slackware 5 12-29-2006 01:02 AM
Run program on startup thehendo Linux - Software 3 08-31-2006 06:07 AM
Run program on startup as user startail Linux - Software 2 10-08-2004 06:06 AM
run program at startup.. me again.. :) rohan208 Linux - General 2 05-26-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration