3

I'm trying to figure out if I should use User Jobs or Session Jobs, since Session Jobs are the proper way to do things from upstart 1.7 onward.

I'm running Ubuntu 14.04.

How do I find out what version of upstart is in use?

7

The command to find the version is initctl version. It should have output along the lines of init (upstart 1.12).

Another method is running apt-cache policy upstart and looking at what version it says is installed.

There has never been an upstart binary/command shipped in Ubuntu; I have no idea what the other answer is talking about.

Edit: apparently /sbin/upstart is shipped in 14.10 on in the upstart-bin package (presumably for user sessions).

|improve this answer|||||
  • which upstart /sbin/upstart hmm? – Rinzwind Nov 28 '14 at 18:53
  • What does dpkg -S /sbin/upstart say? That command tells you what package owns the file. – CameronNemo Nov 28 '14 at 19:04
  • 1
    @Rinzwind It started in 14.10: packages.ubuntu.com/…, the package is called upstart-bin. – muru Nov 28 '14 at 23:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.