Questions tagged [upstart]

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.

771 questions
54
votes
5 answers

Correct way to install a custom upstart service

I am using upstart for services on my servers. Writing a conf file and placing it in /etc/init is easy enough, but that doesn't seem to completely install. For one, the service --status-all doesn't list my new service. I checked and if I make a link…
33
votes
1 answer

What is the meaning of this Upstart init error?

$ start playframework start: Rejected send message, 1 matched rules; type="method_call", sender=":1.6" (uid=1000 pid=1080 comm="start portal ") interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply="0"…
ripper234
  • 777
28
votes
6 answers

Upstart is not seeing my new script

I've added a new script to /etc/init/ called minecraft.conf which contains the script: start on startup stop on shutdown respawn respawn limit 20 5 script export HOME="/root" exec /root/minecraft/start.sh 2>&1 >> /var/log/minecraft.log end…
Jasarien
  • 471
16
votes
4 answers

How to set a Upstart job to start manually?

I want to disable a bunch of upstart jobs here. I know how to make a upstart job. And also I know how to stop manually a job. However, I can't find a sample where I turn a automatically job into a manually job. That is, I want the job to be started…
12
votes
1 answer

Differences between Upstart and Systemd

I have read several news sites about Systemd and how better it is but I have not yet seen one that actually compares Upstart with Systemd. Actually, I haven't even seen one that talks about the benefits of Upstart. So a point to point about the…
Luis Alvarado
  • 211,503
11
votes
1 answer

Upstart service never starts or stops completely

I'm trying to make a simple upstart script for teamspeak server, but can't make it work. When I say initctl start it just executes but never finishes or even emits any message. Same is happening for stop. To be sure I am not doing anything wrong,…
danizmax
  • 2,750
11
votes
1 answer

Upstart conf changes do not reload after edit

After I make some changes to an upstart conf file upstart does not reload the new changes until I reboot the system start on filesystem or runlevel [23] stop on runlevel [6] respawn expect fork script echo "Starting gunicorn.." >…
sdk900
  • 211
11
votes
3 answers

From init.d to upstart, is there a bridge?

I've got a perfectly good script for use in /etc/init.d. In fact, I have a lot of them, all created with the Tanuki Java Service Wrapper. It would seem to me that there could be a simple template for wrapping such a shell script up as an upstart…
11
votes
1 answer

How to config start services with Upstart?

Since upstart 1.5 comes with Ubuntu 12.04, bum and sysv-rc-conf is no longer effective on it. How can I config?
Honghe.Wu
  • 397
10
votes
2 answers

What tool can I use to manage upstart services?

How should I configure upstart runlevels ? Of course I could edit /etc/init/XX but that wasn't right way to do this, I think.
daisy
  • 6,582
9
votes
1 answer

How to specify a daemon shutdown command with upstart?

In an upstart configuration how do I define what command should be used to shutdown a server. Lets say I have daemon that has two seperate processes. startup.sh - to start the server shutdown.sh - to shut down the server Suppose I have an…
ams
  • 799
  • 1
  • 6
  • 11
9
votes
2 answers

Remove services from upstart

I have mysql installed (from repos) on a development machine (laptop) and I don't need the daemon running on every boot. I've copied /etc/init/mysql.conf to /etc/init/mysql.conf.old and then removed everything following the "start on" line. …
xst
  • 205
8
votes
1 answer

Upstart script and start-stop-daemon

I had an issue where making an upstart script would call the script multiple times, causing my IRCd to spawn around 8 times or so. In order to rectify this, I used start-stop-daemon: description "IRC Daemon Upstart Script" start on startup start on…
8
votes
2 answers

Upstart script that depends on init.d scripts?

I have an upstart script to start a custom nodejs app. The app depends on couchdb and elasticsearch. couchdb and elasticsearch provide init.d scripts for starting/stopping them. Is it possible to tell my upstart script that couchdb and elasticsearch…
Troy
  • 183
8
votes
3 answers

How to diagnose Upstart errors?

I have an Upstart conf file in /etc/init which starts fine if i start it manually like this: sudo initctl start myconf If i run it without the sudo command i get the error name=(unset) error, which is due to user privileges, but that shouldn't be…
U2ros
  • 475
1
2 3 4 5 6 7