LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2012, 06:40 PM   #1
herkalurk
Member
 
Registered: Oct 2012
Location: Portland
Distribution: CentOS 6/7 at home, RHEL5/6/7 at work
Posts: 34

Rep: Reputation: 2
help with new upstart jobs


I'm attempting to auto start some python programs (SABnzbd, Sickbeard, and Couchpotato) with upstart jobs. For whatever reason, after making the .conf file in /etc/init, when I attempt to run say 'start sabnzbd', I get 'start: Unknown job: sabnzbd'.

Just looking for some help.

sabnzbd upstart conf
Code:
start on runlevel [2345]
stop on shutdown

script
        exec su --command='/home/user/newsgroup/SABnzbd-0.7.4/SABnzbd.py -d' user
end script
listing of /etc/init

Code:
[root@homeserver init]# ls
control-alt-delete.conf  plymouth-shutdown.conf  rcS.conf                  readahead.conf                   sickbeard.conf       tty.conf
init-system-dbus.conf    prefdm.conf             rcS-emergency.conf        readahead-disable-services.conf  splash-manager.conf  typescript
kexec-disable.conf       quit-plymouth.conf      rcS-sulogin.conf          sabnzbd.conf                     start-ttys.conf      utorrent.conf
newz.conf                rc.conf                 readahead-collector.conf  serial.conf                      teamspeak.conf       vm.conf
[root@homeserver init]#
 
Old 10-22-2012, 09:02 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
The English word would be startup, not upstart.

Don't ask me why ...
 
Old 10-22-2012, 12:14 PM   #3
rigor
Member
 
Registered: Sep 2003
Location: 19th moon ................. ................Planet Covid ................Another Galaxy;............. ................Not Yours
Posts: 705

Rep: Reputation: Disabled
Quote:
Originally Posted by sundialsvcs View Post
The English word would be startup, not upstart.

Don't ask me why ...
Naturally I can't know if this is what the OP meant, but the OP does show RHEL at work, and AFAIK, at one time, RHEL included a facility named upstart, as in

http://upstart.ubuntu.com/
 
Old 10-22-2012, 03:58 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,610
Blog Entries: 4

Rep: Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905Reputation: 3905
Ahh ... missed that one.
 
Old 10-23-2012, 10:55 AM   #5
herkalurk
Member
 
Registered: Oct 2012
Location: Portland
Distribution: CentOS 6/7 at home, RHEL5/6/7 at work
Posts: 34

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by kakaka View Post
Naturally I can't know if this is what the OP meant, but the OP does show RHEL at work, and AFAIK, at one time, RHEL included a facility named upstart, as in

http://upstart.ubuntu.com/
I do use RHEL at work, but this is my home server, CentOS6. Upstart was used in RHEL/CentOS 6 replacing init. At work on the RHEL 6 test box we're using to try and port all of our scripts over, all the times we make an upstart config file in /etc/init, no issues, init process sees the conf and works. However I tried to create a couple at home, and init won't see them, so that's where I'm struggling.
 
  


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
Pacemaker - upstart jobs (VirtualDomain) toshko3 Linux - Server 0 10-06-2010 10:07 AM
Am I running Upstart? zigmo Ubuntu 1 09-17-2010 09:14 PM
Upstart vs SysVinit - which is better? BobNutfield Slackware 10 08-30-2010 05:37 PM
[SOLVED] upstart jobs newk Linux - Newbie 4 09-30-2009 07:03 AM
LXer: Upstart in Universe LXer Syndicated Linux News 0 08-28-2006 04:03 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:46 PM.

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