Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

learn more… | top users | synonyms

0
votes
0answers
14 views

supervisor servce doesn't want to autostart

I installed supervisor: sudo apt-get install -y supervisor When I restart the system it doesn't start. So I start it manually: $ sudo service supervisor start Starting supervisor: supervisord. ...
1
vote
1answer
17 views

init.d script + upstart help/advice

I have written up a Shell init.d script named "My_first_initd_script". The script works great when I run it from the /etc/init.d/ -working in the foreground. I would like to ...
0
votes
1answer
28 views

Upstart or Systemd

So I'm confused. I'm getting a lot of mixed information via Google. As of today, what is Ubuntu using going forward? Is Ubuntu choosing to use and support Upstart, or are they using Systemd? I would ...
0
votes
1answer
75 views

Ubuntu 15.04 do not boot after dpkg-divert --local --rename --add [closed]

After upgrade my distro ubuntu 15.04, the mongodb stopped the automatic service and I could not restart it again. I did some search trying to find some solution to the problem and ended up running the ...
0
votes
0answers
20 views

When is a network interface “up”?

In doing battle with certain semantics of static-network-up, I'm realizing there's two contexts of the state "up" for a network device: When a device is running, allowing packets to flow through, ...
0
votes
0answers
23 views

keep looping for searching for HP virtual keyboard during kernel bootstrap but this USB device is always disconnected

During os/kernel bootstraps, there are some errors on init and then keep looping for searching for HP virtual keyboard devices. Any hints or suggestions on how to debug or resolve this error? Please ...
1
vote
0answers
16 views

What is the idiomatic way to start/stop a group of Upstarted services with a single command?

I have a set of a dozen or so services that usually are restarted in a group, but there are also cases where they need to be restarted / stopped individually. It is cumbersome and error prone to have ...
3
votes
1answer
94 views

how to debug upstart if it hangs while root is read-only?

I am trying to debug an unsecessful/hung-up system start (upstart) on 14.04.2 LTS. root is an ext4 filesystem in a luks container. filesystems are in clean state. The boot process stops after ...
1
vote
1answer
60 views

How should I configure Ubuntu/Upstart for unusual network configuration?

I recently installed Ubuntu Utopic 14.04 LTS on a new server box I built specifically to host some virtual machines. The network configuration for this box, which contains two NICs, exposes the two ...
0
votes
1answer
40 views

Can not remove nvidia-prime package

When trying to switch 14.10 to systemd I've run into a situation: I can not remove package 'nvidia-prime' and it prevents me to install either upstart or systemd, so now my machine will not reboot. ...
0
votes
0answers
44 views

How does Upstart knows if linux system processes started?

According to the Upstart cookbook, the upstart script initctl sends a notification to all interested parties (either jobs or other events). My question is quite specific: how do jobs like d-bus, ...
0
votes
0answers
22 views

procps not running at boot

I have some sysctl settings in a /etc/sysctl.d/60-*.conf file. These settings don't take effect when booting the server. I have to run "service procps start" manually. All my Ubuntu 12.04 servers ...
0
votes
0answers
10 views

How to launch script on service service_name stop

I have tried pre-stop script in upstart script, but it's ignoring it. It seems it only working when real server shutdown is happening. Is there a way to launch some script, when service service_name ...
0
votes
0answers
40 views

How to use utserver as service

I'm new to Linux as well as StackExchange.I am running Linux Mint 17.1 Cinnamon 64-bit Cinnamon Version: 2.4.6 onLinux Kernel 3.13.0-37-generic I have successfully installed uTorrent server and ...
1
vote
1answer
59 views

How does the Ubuntu boot process work?

I have read many articles about the Linux boot process. As I understand the Linux boot process is something like this : BIOS (UEFI) → MBR → grub → Kernel → init What I really don't understand ...
0
votes
0answers
10 views

Is it possible to define an upstart command?

I'm looking at creating an upstart job with some unusual commands. Is it possible to write the upstart script in such a way that I can do something like this: service myupstartjob mycommand I've ...
0
votes
1answer
38 views

Service initialization scripts: upstart?

Where can I read some brief information about upstart in ubuntu? I found "Upstart Intro, Cookbook and Best Practises", but it's too big. How can I add my own service? What's the difference between ...
1
vote
1answer
37 views

Shutdown Ubuntu using upstart

I have a process which is started by Upstart. It will try to respwan the process n number of times on failure and after that if it fails, I want to restart my Ubuntu. I tried telinit, halt etc in ...
1
vote
1answer
65 views

Ubuntu 14.04 Server , launch jar in screen on boot/restart

Ive been reading everywhere on how to do this, and I understand how to do it, but for some reason I cannot get it to work correctly. I simply want to run a jar file on restart or boot, the jar file ...
0
votes
0answers
32 views

/etc/sysctl.d doesn't seem to be read at start up

I have added a file to /etc/sysctl.d with these contents: $ more 60-inotify.conf fs.inotify.max_user_watches=100000 Running sysctl -p /etc/sysctl.d/60-inotify.conf does the job. But on reboot the ...
1
vote
1answer
55 views

How configure the upstart in ubuntu in my ec2 [node.js]

I am using an amazon ec2 instance with ubuntu to host my node.js application, i already made all the configurations, and is working good when i type: nodemon ./bin/www ./bin/www is the file that ...
0
votes
1answer
94 views

Upstart vs Systemd Performance

Has anyone measured difference in performance between these 2 systems on Ubuntu? Systemd is coming, and it has it's merits, but I fear Upstart will be tough to beat on Ubuntu, since it had years of ...
0
votes
0answers
63 views

System hangs after /sbin/init starts; no login prompt

I have an Arndale board running Ubuntu 12.04 with the root file system mounted on a MicroSD card. Recent, that card was damaged and I tried to recreate the file system on a new 16GB card. All went ...
0
votes
0answers
58 views

Change logging directory/file for an Upstart service

I have an upstart service that it fills up the space. I need to move the logs from /var/log/upstart to a different directory /pub/data/logs/order_server. I tried to do it using console log --logdir ...
0
votes
0answers
37 views

How to manually start ps2 mouse from command line

It appears I have an intermittent issue in that it's a coin toss whether my ps2 mouse will work after boot. From the time stamps in dmesg it appears to be timing related, and rather than spend ...
0
votes
1answer
20 views

Upstart and isstty(STDOUT_FILENO)

Many Linux programs use istty to determine whether STDOUT is a terminal or not. For example, ls will (by default) suppress coloured output if it's redirected (istty == 0). When running upstart jobs, ...
0
votes
0answers
52 views

list all services

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some ...
0
votes
1answer
131 views

Autostart a Python script in an LX terminal

I have a python script which extracts continuous data from an incoming serial string and inserts the fields into an Sql database. The python script can be run manually from an LX terminal and works ...
1
vote
0answers
121 views

Process “/bin/sh -e /proc/self/fd/9” - what starts it and why?

I have a process /bin/sh -e /proc/self/fd/9 that runs on my system. sh -e /path/to/file in dash (which sh is symlinked to on my Kubuntu 14.10) just tests for existence of a file. In /proc/self/fs I ...
2
votes
0answers
18 views

Deluged Upstart not starting [duplicate]

Setting up a new ubuntu server installation (14.04.1), I have been completely unable to get deluge to start as a daemon at system startup. Originally tried following this set of instructions: ...
0
votes
0answers
69 views

How do I setup services to start when Gitlab is ready?

I have a few Upstart services that I would like to have started once Gitlab is started and ready to serve repositories. There is a gitlab-runsvdir Upstart service (came with the gitlab package) that ...
0
votes
1answer
63 views

Can't execute nmcli in an upstart job

The file below is the default network-manager.conf upstart job. $ cat /etc/init/network-manager.conf # network-manager - network connection manager # # The Network Manager daemon manages the system's ...
0
votes
1answer
36 views

Does upstart pass an entire script body to shell for execution or process line-by-line?

My upstart job is failing in pre-start, when it moves any previous logfile to a backup: pre-start script mv -f $LOGDIR/$LOGFILE $LOGDIR/$LOGFILE.bak touch $LOGDIR/$LOGFILE end script I expect ...
0
votes
1answer
57 views

upstart not running jar file once system has booted

I have been working on several bits of code and done a fair bit of testing and looking around for answers before posting this, so I am hoping someone can help solve this with me. The jar I am able to ...
1
vote
1answer
90 views

My command runs in bash, but not from /etc/init, what have I done wrong?

I'm having some trouble with this init script. When I run the command I'm passing to start-stop-daemon from the command line it works perfectly, even if I run it sudoed as the userid in the script, ...
0
votes
1answer
27 views

Log upstart event env var EXIT_SIGNAL/EXIT_STATUS

Upstart has job environment and event environment, I am faimilar with the jobs, and I can write script stanzas to log/exec. But when the process fails, there is a stopped event, which has some useful ...
1
vote
1answer
344 views

sbin/init crash after log in

Hi I have been getting a problem where, every time I log into Ubuntu, a red exclamation mark appears in the top-right of the screen. On clicking it, a window appears to say "Sorry, Ubuntu 12.04 has ...
0
votes
0answers
128 views

Upstart job not starting - virtual-filesystem not emitted?

I have installed logstash from the official elasticsearch repository on Ubuntu 14.10. Installation process added the upstart job /etc/init/logstash.conf and init script /etc/init.d/logstash # ...
2
votes
0answers
40 views

PXE boot 14.04 : filesystem.dir not working: do I have to use filesystem.squashfs?

I've been using PXE-Boot with an extracted filesystem rather than squashfs so far: [NFS-server]:/[cdpath]/casper/filesystem.dir/ instead of [NFS-server]:/[cdpath]/casper/filesystem.squashfs This ...
0
votes
1answer
99 views

Ubuntu 12.04 in login loop as lightdm-session says upstart not found

I tried to install a package systemd (this replaces upstart in Utopic 14.10 and up). See my yesterday question How to Re Generate All Gnome Schemas for Ubuntu 12.04. The result was that it didn't ...
2
votes
2answers
367 views

Ubuntu 14.04 boot hangs at logo after updating

Yesterday, I did a update/dist-upgrade. Today, I powered on the machine and it was hanging at the loading screen with logo and cycling dots - I've waited at this screen for about an hour several times ...
3
votes
0answers
69 views

What service starts a user session before they login? [closed]

I've noticed that I have problems with insync and dropbox icons showing up in my system tray and in investigating the problem it seems to be because they are being started before I even login. In ...
0
votes
0answers
60 views

Having Cisco AnyConnect connect to VPN server at startup on a headless machine

Currently I launch it manually using the following command: printf "y\nMYUSERID\nMYPASSWORD\ny" | /opt/cisco/anyconnect/bin/vpn -s connect VPNSERVERADDRESS I tried putting the same command in ...
3
votes
1answer
210 views

Bash script works from command line, but not if started by upstart

I have a script that listens on port 12 and invokes xbmc when receiving a wol packet. It works perfectly fine when I launch the script directly from the command line, but nothing happens when I let ...
1
vote
0answers
94 views

Running service spacenavd start not same as /etc/init.d/spacenavd start

I have an application which makes use of a 3dconnexion space mouse. It works fine when using the spacenavd daemon however I'm having issues getting the daemon to run at boot or as a service. $ sudo ...
1
vote
0answers
137 views

Is there an alternative to using “sleep 1” in Upstart pre-start script? [closed]

I am running a rails app on Ubuntu 12.04 I was having difficulty getting the service to start on boot. The only thing that solved this issue was to add a "sleep 1" to my pre-start script. I am ...
0
votes
0answers
32 views

Pure-FTPd with virtual users

I recently setup a pure-ftpd server, and I'm wondering about how I would include virtual users within the service. I would normally have to run the program with -l puredb:/etc/pureftpd.pdb. How would ...
0
votes
1answer
55 views

How do I find out what version of upstart I have?

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 ...
0
votes
0answers
54 views

How to run job with access to ssh passphrase

I have a long-running daemon (unison file monitor) that I want to have running at all times. This daemon connects to a remote server through ssh and maintains a local directory synced with a remote ...
1
vote
0answers
23 views

Prevent service from starting manually when dependent services are down

Suppose I have two services db and app (which needs db to be up and running before it starts). They are starting correctly on startup and when I do sudo service db stop it stops both db and app. But ...