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
5 views

Upstart how to avoid a stopped job restart by dependent job restarting?

My upstart job is dependent on mysql and mongodb. Here is my job's start on stanza: start on (started mysql or started mysqld ) and \ (started mongodb or started mongod) This job is a ...
0
votes
1answer
9 views

Event.d not there

Using ubuntu server 14.04.2 I'm trying to get the git daemon on my server it tells me to create an upstart script at /etc/event.d/local-git-daemon. However it seems there is no event.d in /etc. ...
0
votes
1answer
20 views

Setting up Minecraft server to start and stop automatically

I followed this tutorial: http://minecraft.gamepedia.com/Tutorials/Ubuntu_startup_script ...and I am getting an error that says: start: Unknown job: minecraft-server ...when I run the start or ...
0
votes
1answer
23 views

Migrate basic upstart script to systemd

I just upgraded a server from Ubuntu 14.10 to 15.04, and a couple of services that I start via custom upstart scripts are no longer running. My understanding is that I need to re-write them as ...
0
votes
0answers
8 views

upstart script to start after dns is ready?

Is it possible to make an upstart job conf so that it starts after DNS is started through /etc/init.d/bind9? I'd rather than have to modify the default system /etc/init.d/bind9 to make it emit ...
3
votes
1answer
40 views

How to build .deb package that adds a GUI program to session startup?

I have a built .deb installer that installs the GUI(1) program myprog. I would like this .deb installer to add myprog to the Session Startup programs for all the users on the system. Should this be ...
0
votes
0answers
13 views

How can I make one legacy sysvinit script (xen) start before an upstart job (lxc)?

I am running Xen with an Ubuntu trusty Dom0 in the following configuration: FreeBSD DomU vault exports ZFS filesystem /storage/backuppc via NFS. Ubuntu Dom0 keep mounts vault:/storage/backuppc at ...
1
vote
0answers
15 views

Write a Custom Status Check for Upstart

I have an Upstart file to launch a daemon. I don't know how many times it forks and when I last tried to experiment to figure that out, upstart wedged hard and I had to power-cycle the system. ...
1
vote
2answers
92 views

My wireless has intermittent DNS errors, how do I restart network-manager in 15.04?

My wireless is a bit buggy on Ubuntu, every now and then the DNS will cut out for no reason, and I'll need to run sudo restart network-manager to actually fix it. However I just upgraded to 15.04, ...
1
vote
0answers
42 views

Upstart session job not being run

I created an upstart session job which should take care of stopping my unprivileged LXC containers when shutting down or restarting the system. I placed the configuration in ...
2
votes
0answers
50 views

Remove upstart option from GRUB

For each Kernel I use with my 15.04 install I have three options in GRUB: normal (systemd) upstart recovery How can I remove the upstart option for all my Kernels?
1
vote
2answers
33 views

WHERE to add more IPv6 addresses

I have a script to add many new IPv6 addresses on reboot and that code is in /etc/rc.local. The problem with this is that service processes (such as DNS server and web server) get started before the ...
0
votes
1answer
28 views

ENV variable within an ENV variable in upstart script

I'm trying to include one ENV var in another in my upstart script: env CONFIG_NODE_NAME=my_$HOSTNAME_node But it doesn't translate it, it just keeps it as $HOSTNAME.
0
votes
1answer
328 views

Uninstall broken Plex Media Server from 15.04

I tried installing Plex Media Server on Ubuntu 15.04 but it didn't work because of the migration to systemd from Upstart. Unfortunately I can't seem to be able to uninstall it now either, since the ...
0
votes
0answers
15 views

Help writing an Upstart script

On my Ubuntu 14.04.2 server there's an installation of ownCloud with its News app. Now, for some reason or another, a couple of days ago the app stopped pulling new articles via owncloud cron.php. ...
2
votes
0answers
79 views

15.04 upgrade issue upstart [closed]

ah I feel like an idiot! So I decided to upgrade my distro (like a dummy because I am hosting something for a school assignment) on an openVZ server. Now I can't get systemd working. I get the ...
0
votes
1answer
367 views

15.04 Error updating boot sequence update-rc.d

I am trying to get Sickrage to auto start, and I'm hitting a wall at the command sudo update-rc.d sickrage defaults Here is the error: initctl: Unable to connect to Upstart: Failed to connect to ...
4
votes
2answers
1k views

vivid - failed to connect to upstart: connection refused

Just updated via do-release-upgrade and now certain upstart jobs such as fail2ban and plexmediaserver will not start (have tried reinstalling) sudo service fail2ban start Job for fail2ban.service ...
0
votes
1answer
19 views

SIGRTMIN on plymouthd after switching from upstart to systemd

I just updated my Kubuntu installation to vivid (15.04). After updating, the default initialization with systemd fails shortly after showing the kubuntu animation (plymouth). The last log file entry ...
0
votes
0answers
34 views

Ubuntu wont boot under systemd

I have just installed Ubuntu 15.04 on my laptop, the installation went fine but Ubuntu will not boot. Using the default boot options I get stuck at a prompt to enter an encryption passphrase that I ...
1
vote
1answer
108 views

upgraded to 15.04 init conf file doesn't work

I've recently upgraded to 15.04. On 14.10 I had a conf file which would start a program on upstart. On 15.04 that doesn't work and the program won't start. This is the .conf file: # mbpfan - A ...
4
votes
2answers
310 views

Rationale for switching from upstart to systemd?

The larger change that comes with Ubuntu 15.04 is the switch from upstart to systemd as the default for managing boot and system service startup. Could anyone adequately explain to a non-technical ...
1
vote
1answer
22 views

How to make a respawning Hadoop Upstart job?

You can start a nodemanager instance by running yarn-daemon.sh start nodemanager. If you make an upstart job out if this, you have two problems: The yarn-daemon.sh script will be executed constantly ...
2
votes
1answer
3k views

Ubuntu 15.04 with Kubuntu Plasma Desktop not booting

I upgraded to Ubuntu 15.04 today. The Laptop booted fine. However, after that I also installed Kubuntu Plasma Desktop from the Ubuntu Software Center. On booting default “Ubuntu” I get a black blank ...
0
votes
0answers
82 views

How to run docker-compose at bootup?

This is on an Ubuntu 14.04 LTS VM running Docker and I suspect respawn is the cause of my problem but not sure of the ideal solution. Current upstart script (cat /etc/init/dockersuitecrm.conf) ...
1
vote
0answers
25 views

Massive log file and 100% CPU usage for 'upstart'

I have a fresh install of Ubuntu 14.10, and I installed some programs like MATLAB, Chromium, Evolution and other fairly harmless stuff. However, I have run into some trouble recently. The file ...
2
votes
3answers
50 views

How to register an upstart service?

I wrote an upstart service following the Ubuntu wiki article and created a .conf file in /etc/init/. There're no instructions on how to proceed to make the script available in initctl list and for ...
2
votes
0answers
160 views

/bin/sh: 0: can't access tty; job control turned off [closed]

I'm building a custom image to run on a simulator. the kernel boots fine and everything but generates this warning: /bin/sh: 0: can't access tty; job control turned off and the terminal does not ...
0
votes
0answers
13 views

Upstart task is terminating spawned processes

I am using Ubuntu 14.04. I want to create an upstart task that will run a simple script on system boot. The script runs properly when run from the command line. Its job is to iterate a number of ...
0
votes
0answers
23 views

upstart .conf script not running at startup

I have a .conf file I run at start up. This file runs a script file i have stored elsewhere. But it does not run. Its supposed to launch node.js and two tabs on firefox. When i launch firefox after ...
0
votes
0answers
31 views

How to redirect the output to a log file from upstart script?

I am using upstart to start/stop my c++ app server as shown below - start on runlevel [2345] stop on runlevel [016] chdir /opt/tetra/app_server respawn post-stop script sleep 30 end script ...
2
votes
1answer
14 views

Where should I put my Upstart scripts?

I'm trying to figure out Upstart and I'm not sure if I should put them in /etc/init or ~/.config/upstart And what is the difference between the locations?
0
votes
1answer
21 views

Which upstart jobs are optional/unnecessary that I can eliminate by renaming from xx.conf to xx.skip [closed]

I know HOW to have an upstart job not start (mv cron.conf cron.skip). WHICH upstart jobs are OPTIONAL or UNNECESSARY and still have my system function. I DO NOT NEED cron, encription, bluetooth, ...
1
vote
0answers
29 views

Problems with starting x11vnc on boot

I'm trying to start up x11vnc on boot, without the need to log in, but I ran into quite a few problems and none of the guides helped. First of all, rc.local does not work, as it apparently starts ...
0
votes
0answers
36 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
29 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 ...
1
vote
1answer
63 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
0answers
21 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
83 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
19 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 ...
4
votes
1answer
151 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
105 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
124 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
50 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
36 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
78 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
78 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
71 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 ...