Results 1 to 2 of 2

Thread: Upstart: How do I keep a package installed, but prevent it from running via Upstart?

  1. #1
    Join Date
    Apr 2005
    Beans
    132

    Upstart: How do I keep a package installed, but prevent it from running via Upstart?

    I have some programs installed but I wish to prevent them from running at system boot via Upstart AND to not revert back to this state after each upgrade.

    I know how to accomplish the first part by editing the Upstart conf for that program, but when I upgrade that file gets overwritten. Is there a file somewhere I can edit that will accomplish the same "blacklisting" of a program without having to edit the original conf file?

    thanks!

  2. #2
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Upstart: How do I keep a package installed, but prevent it from running via Upsta

    In Natty you can use an .override file: http://upstart.ubuntu.com/cookbook/#override-files

    Code:
    echo 'manual' | sudo tee /etc/init/job-name.override
    Unfortunately this doesn't work in earlier releases.

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
  •