Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-06-2014, 09:46 AM   #1
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, 08: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 08:52 PM.


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 06:30 PM
run program as service with startup theboss Slackware 5 12-29-2006 12:02 AM
Run program on startup thehendo Linux - Software 3 08-31-2006 05:07 AM
Run program on startup as user startail Linux - Software 2 10-08-2004 05:06 AM
run program at startup.. me again.. :) rohan208 Linux - General 2 05-26-2004 08:03 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 AM.

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