Results 1 to 2 of 2

Thread: Run Upstart job on multiple conditions

  1. #1
    Join Date
    Apr 2010
    Location
    Simferopol, Ukraine
    Beans
    39
    Distro
    Ubuntu

    Run Upstart job on multiple conditions

    I have two upstart jobs ('install-nodejs-job' and 'deploy-my-app-job') on my ec2 instance with
    Code:
    start on net-device-up IFACE=eth0
    Both have only pre-start and start scripts. My goal is to run third ('start-my-app-job') job after these jobs and I'm using following condition there:
    Code:
    start on started install-nodejs-job and started deploy-my-app-job
    but 'start-my-app-job' does not starts. 'install-nodejs-job' and 'deploy-my-app-job' run definitely successfully (after reboot nodejs is installed and my app deployed) 'start-my-app-job' works to if run manually.

    Thanks!
    Last edited by zuker; August 30th, 2012 at 11:34 AM.

  2. #2
    Join Date
    Apr 2010
    Location
    Simferopol, Ukraine
    Beans
    39
    Distro
    Ubuntu

    Re: Run Upstart job on multiple conditions

    False alarm. 'install-nodejs-job' and 'deploy-my-app-job' take not so few time as I supposed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •