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

1
vote
0answers
12 views

Start jackd with realtime priority with upstart

I'm trying to start jackd with realtime priority at boot with an uptstart script but with no success so far. I'm using ubuntu server 14.04. My upstart version is 1.12.1. The user and group I'm using ...
0
votes
0answers
12 views

Upstart script on first boot with cloud-init

I'm trying to launch an EC2 instance where I need to perform some initial setup of the instance (download and install packages, configure directories, etc.) as well as start a web service. The initial ...
2
votes
1answer
21 views

systemd in ubuntu 14.04

I noticed that the most recent update of ubuntu offers to install systemd components. I hesitate to allow this update for I had very nasty experience of doing this in debian-testing when services ...
0
votes
0answers
25 views

after do-dist-upgrade i have some problems on my xubuntu

Hello guys some weeks ago i did an do-dist-upgrade a virtualbox machine, and now i cant login correctly without getting stuck on logs screens, worst with reboot and shutdown ever get stuck on logs ...
0
votes
2answers
32 views

Gamma correction with Upstart and a script

I've written an Upstart job to automatically change display gamma according to change in display brightness: start on (backlight-device-changed) exec /usr/bin/gammach And this is "gammach": ...
1
vote
2answers
34 views

Which init daemon starts cups?

I have a fresh installation of Ubuntu 14.04, and have not touched anything. Cups is running, as reported by both ps and netstat. There are /etc/init/cups.conf and /etc/init.d/cups, both of them seem ...
2
votes
2answers
192 views

How to start GUI application with upstart?

I have struggled with this problem for three days and I have tried many ways to solve it but not successful yet. I hope you guys can help me... I have an GUI application. I want to start this ...
0
votes
1answer
36 views

upstart and gnome-session-Unity.log goes mad

In my upstart folder in ~/.cache/upstart: -rw-r----- 1 bussiere bussiere 18G août 5 17:59 gnome-session-Unity.log The log goes mad I've tried purge logrotate and reinstall it but nope.
1
vote
1answer
19 views

Can't get upstart service to honor capabilities(7)

I am developing a daemon started by upstart (Ubuntu 14.04) which needs to run as a non-privileged user (for security), but bind privileged port 443. I am using setcap to set the CAP_NET_BIND_SERVICE ...
0
votes
1answer
35 views

passing port to calibre-server via env variable in upstart script

I'm trying to write an upstart script for calibre-server. I can add all the arguments I need using env variables except for --port. description "Calibre (ebook manager) content server" start on ...
0
votes
1answer
12 views

When will “runlevel” event be emitted?

start on runlevel [2345] referring this: The syntax of start on stanza is: start on EVENT [[KEY=]VALUE]... [and|or...] It means, runlevel is en event, [2345] is that event's environment ...
-1
votes
1answer
20 views

Are there any plans to simplify console service management on Ubuntu?

I am quite perplexed about the direction in which service management is going on Ubuntu and the funny part is that the same seems to be happening with OS X but that's another story. I do appreciate ...
0
votes
1answer
18 views

Minecraft Bukkit server spams logfile - Ubuntu 12.04

I have a virtual server (Ubuntu 12.04) and a serious problem with Minecraft/Bukkit. I've installed a fresh bukkit 1.6.4 on my virtual server and made some upstart script for it. Here is the ...
1
vote
0answers
24 views

What is the Purpose of /etc/init/udev-fallback-graphics.conf in Ubuntu 14.04?

What is the purpose of the upstart configuration /etc/init/udev-fallback-graphics.conf (shown below) in Ubuntu 14.04 LTS? # fallback-graphics - take actions to initiate fallback graphics # # if we ...
1
vote
1answer
26 views

How to force restart of a dependent service in upstart?

I have an upstart file for running a docker container: description "Start a worker" start on filesystem and started docker stop on stopping docker respawn script /usr/bin/docker start -a my_worker ...
2
votes
1answer
50 views

Upstart job cannot create directory in /var/run

I the following config in /etc/init/foo.conf on Ubuntu 12.04.4: description "Foo" start on filesystem or runlevel [2345] stop on runlevel [!2345] pre-start script mkdir -p -m 0775 /var/run/foo ...
0
votes
1answer
64 views

How Can I Suppress “Load Fallback Graphics Devices” and “Plymouth Upstart Bridge” Messages During Ubuntu Server 14.04 Boot-Up?

When booting Ubuntu Server 14.04 LTS, I see messages such as: * Starting load fallback graphics devices [FAIL] and init: plymouth-upstart-bridge main process terminated with status 1 and init: ...
0
votes
3answers
72 views

How to run a Phantomjs server with an upstart script?

I have phantomjs installed and I want to run a phantom server whenever the (Ubuntu) server starts. I am currently working locally on Ubuntu 14.04, and the server this will be deployed to is also ...
1
vote
2answers
50 views

Running a python scrip using startup

I am trying to get a simple python code that I have to run in the background at startup, and stay running. The best option that I have found so far is to use Upstart. I wrote the following .conf file ...
0
votes
1answer
40 views

Which arguments are passed to init scripts during shutdown

I am currently looking at the startup and shutdown procedures for ubunut precise pangolin. As far as I understand at shutdown the system switches to runlevel 0 and all scripts with K* are executed ...
1
vote
2answers
36 views

How do you append to environment variable in Upstart?

I put the following in my /etc/init/myjob.conf file but it doesn't seem to work env PATH=$PATH:/mnt/data/src env PYTHONPATH=$PYTHONPATH:/mnt/progs/link Is it possible to somehow append to an ...
1
vote
1answer
43 views

upstart script not working Ugh! So frustrating!

Here is a copy of my conf file description "ncurses BitTorrent client based on LibTorrent" console none expect fork kill timeout 30 start on (local-filesystems and net-device-up and runlevel ...
1
vote
1answer
34 views

Securing shared memory in Ubuntu (Linode VPS) renders it useless. Doesn't boot up [duplicate]

Everytime I setup a new VPS, I secure shared memory by adding the following to /etc/fstab: tmpfs /dev/shm tmpfs defaults,noexec,nosuid 0 0 Which works as expected on every host, ...
1
vote
1answer
38 views

What is the right way to restart dependent services while package installation?

I am creating a configuration package, and would like to stop and restart services whose configuration is affected. Right now I am using the service [stop|restart] in {pre,post}{inst,rm} way. I read ...
0
votes
1answer
42 views

Node.js server silently fails with Upstart

I can manually run my Node.js server with ./server.js, but when I try to daemonize it with Upstart, it silently fails. Any idea why this would happen? I tried enabling console logging in the Upstart ...
2
votes
1answer
32 views

Upstart does not satisfy resources usage requirements set by “limit” stanza

I am experiencing problems with Upstart. I am trying to start the transmission-daemon (a BitTorrent client) with a limit on the maximum resident set size (rss). This is the ...
0
votes
0answers
25 views

Bitnami MediaWiki Stack - Autostart problem

I'm pretty new to the unix world and am stuck on the following problem: I've installed a bitnami MediaWiki package onto my Ubuntu system which includes an Apache Server, MySQL, PHP and the MediaWiki ...
1
vote
1answer
152 views

Full switch to systemd from sysv (apt-get install systemd-sysv not working) [closed]

I have systemd installed, but I want to make a full switch. I've read here that I should just install systemd-sysv, but when I attempt to do that I get this message: root@arm:/usr/lib/systemd# ...
0
votes
1answer
34 views

How do I configure smuxi-server to run as a normal service?

I installed the smuxi-engine package on my Ubuntu 14.04 server which contains the smuxi-server binary. But I do not see instructions anywhere on configuring it to run as a service. Is there a way to ...
2
votes
1answer
49 views

How can I alternate between two kiosk-mode appplications?

I currently have a single-user system that autoloads into X and starts XBMC via a super-simple Upstart job that runs: su -c "startx /etc/X11/Xsession /usr/bin/xbmc-standalone -- -bs" oli ...
2
votes
1answer
31 views

How to run a custom command for any X session

I need to patch the gamma on my monitor that is really out of balance, in short I need to run a command like xgamma -gamma 1.2 for any X session that I might start on my machine. My problem is that ...
8
votes
1answer
90 views

About dbus-daemon's activation parameter

I'm using Ubuntu12.04 LTS. I saw following line in /etc/init.d/dbus.conf. exec dbus-daemon --system --fork --activation=upstart And I saw the man page for dbus-daemon, and then found the ...
0
votes
0answers
96 views

Xubuntu 14.04 LightDM stalls after install of NIS NFS and reboot

After a clean 14.04 install of Xubuntu I went on to add NIS and NFS for remote access to the server. However, on reboot the system gets to the LightDM greeter and stalls (the consoles at Alt-F1 etc ...
1
vote
0answers
53 views

Upstart not reopening log files on logrotation

We use upstart to manage our services on our Ubuntu servers. They produce logs which are logged out to /var/log/upstart/SERVICE_NAME.log Then daily, the log files are rotated using the logrotation ...
0
votes
1answer
20 views

WOL upstart script won't run upon reboot 12.04.4

I am trying to enable WOL and followed this answer: How can I enable wake-on-lan permanently? As per the link, I created an upstart job to enable WOL upon reboot. Script is: start on started network ...
2
votes
1answer
30 views

Limiting nproc in an upstart job

What exactly does the stanza limit nproc 20 20 in an Upstart job do? I've read the documentation here (http://upstart.ubuntu.com/wiki/Stanzas#limit), and it seems like it would limit nproc for any ...
1
vote
2answers
37 views

Upstart: pipe the output of multiple commands

I try to detect if there is a network link (cable plugged/unplugged) in an upstart script (Ubuntu 12.04). Here the relevant part of my script (which didndt work): script if [ /sbin/ethtool eth0 | ...
0
votes
1answer
55 views

Start daemon after specific samba share is mounted

I have a homebrew headless NAS running 12.04. In it I have a bunch of disks that are presented as a samba share thanks to Greyhole. If I want to do anything to the files within this share, I must do ...
1
vote
1answer
41 views

Unable to start GUI app from upstart

As part of post-start of my app say "mydaemon", I want to launch a GUI app say "mygui". I am unable to do this. I have verified user perm using xhost, DISPLAY variable is set correctly. conf file in ...
0
votes
1answer
19 views

Does upstart chdir works with symlinks?

Currently in my upstart script, chdir points to a symlink (soft). Does chdir respect the symlink or goes directly to the symlinked directory? The question why I ask this is because in a web server I ...
1
vote
1answer
70 views

User upstart session in different window manager wIndow manager

I am using Ubuntu 14.04 and i3 as window manager. After I have logged in to i3, upstart won't find my user jobs under ~/.config/upstart/. How can I make upstart find these config files without having ...
2
votes
2answers
142 views

how to setup automatic core dump on upstart script?

the myapp is an application that crashes eventually. I would like to get the core dump of those crashes... this is the upstart script I tried so far... but it still doesn't work description ...
1
vote
1answer
35 views

Upstart sub-command tab completion with zsh

I've just recently switched to ZShell, and am loving it so far. One issue I'm having however is that my init.d or upstart scripts used to have tab completion for their subcommands, but now it doesn't. ...
1
vote
1answer
25 views

Config --no-log for an init deamon job

I have a proccess configured under /etc/init and it runs by the init deamon, and want this proccess to stop sending logs to the /var/log/upstart dir. I read this document: ...
1
vote
1answer
91 views

Ubuntu 14 Upstart, Script Never Runs — No Log File

I apologize ahead of time if this has been answered, but Ive looked through all the other questions and havent found anything that helps. Here is my upstart script: nodeapps.conf start on [2345] ...
0
votes
1answer
1k views

14.04 PXE slow boot process (udev/upstart/systemd)

I've been using a diskless installation of Ubuntu for our department up until Ubuntu 13.04, without any major issues so far. However, with 14.04, something weird is happening in the boot process ...
1
vote
2answers
548 views

Unable to start kde

Rebooting my laptop after a few days of uptime (so I don't know what could have triggered the issue) I have found that I am unable to login from lightdm. My password is accepted and the fields ...
1
vote
1answer
98 views

Startup & shutdown scripts for Java servers

I am trying to design a graceful startup/shutdown script (Bash) for a Java app (JAR) that I will be deploying to my Ubuntu 14.04 server. I'm looking for a clean, Linux- and Ubuntu-friendly way of ...
1
vote
1answer
41 views

How to setup this X server as a service with upstart?

This is the script I have to make my X Server up and running... The goal is to make it restart in case of a crash... description "X server" start on runlevel [2534] stop on runlevel [!2534] script ...
1
vote
1answer
451 views

Why isn't my Upstart script running on 14.04?

I have the following Upstart script saved as /etc/init/automount.conf: description "SOME DESCRIPTION" start on startup task exec mount -t vboxsf WebApps -o rw,dmode=777,gid=GROUP_ID,uid=USER_ID ...