Announcement

Collapse
No announcement yet.

upstart

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    upstart

    I finally figured upstart out. but I am having a problem telling it to start jobs right from boot.

    I want it to launch a python program and unclutter to get rid of the mouse cursor. I have the jobs setup properly since the initctl start program and initctil start unclutter commands start as expected.

    is there some config file or something i need to change?

    #2
    Re: upstart

    solved!!

    if you want to use upstart to start a service do the following ( this example is for unclutter [ removes mouse cursor for a linux picture frame ] )

    vi unclutter
    (put this in the file)
    # unclutter

    start on startup

    start on runlevel-2
    start on runlevel-3
    start on runlevel-4
    start on runlevel-5

    stop on shutdown

    exec unclutter -display :0.0
    respawn
    (end of file)
    then reboot. my problem was i had startup spelled wrong so it didn't start on boot. hope that helps someone.

    Comment

    Working...
    X