Questions tagged [upstart]

Questions specific to the "upstart" init system. Do not use for general init issues.

Filter by
Sorted by
Tagged with
91
votes
5answers
95k views

How to find out if a system uses SysV, Upstart or Systemd initsystem [duplicate]

Is there a simple way to find out which initsystem is being used e.g by a recent Debian wheezy or Fedora system? I'm aware that Fedora 21 uses systemd initsystem but that is because I read that and ...
3
votes
2answers
3k views

Why this error about upstart/systemd with runit?

I run sudo apt-get install git-all in Ubuntu 16.04 and see the following in the end Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/...
23
votes
7answers
68k views

Ubuntu12.04: How to disable a daemon process at startup

I normally use service start/stop or initctl start/stop to start or stop a daemon process but now what I am looking for is to disable a daemon process from starting at startup example mysqld. ...
1
vote
0answers
378 views

How to determine which init system is used? [duplicate]

Is there a way to determine which init system is being used in Linux? (such as sysvinit, upstart, systemd, etc.) I don't care if it can be programmatically determined, I just want to know how I can ...
182
votes
6answers
86k views

What are the pros/cons of Upstart and systemd?

It appears systemd is the hot new init system on the block, same as Upstart was a few years ago. What are the pros/cons for each? Also, how does each compare to other init systems?
20
votes
2answers
15k views

Upstart on Debian?

I created an upstart script in Ubuntu, thinking it would be the same for Debian. But Debian doesn't have a /etc/init folder that Ubuntu has. I went to the upstart download page and seeing that they ...
0
votes
1answer
1k views

Package 'upstart' has no installation candidate

When I try to install upstart on Debian 9, I get : # apt-get install upstart Reading package lists... Done Building dependency tree Reading state information... Done Package upstart is not ...
6
votes
3answers
5k views

How do I start a screen session using an upstart job with a non privileged user?

I am trying to create an Upstart job that starts a new screen session on boot, in which I would like to automatically start a java executable. Here is the .conf file I am currently trying to get to ...
6
votes
3answers
11k views

Is it possible to export env variable via Upstart?

I need to export a variable FOO=stringhere so that system processes could use it. And the place I would like to do this, is Upstart job. Unfortunately, I tried as per Upstart manual to do env FOO=...
5
votes
1answer
894 views

Upstart and bash function names containing “-”

I inherited some bash scripts where the author used "-" in the function names instead of the more normal "_" e.g.: function a-b { ... } Ugly but legal in bash. Problem is I sourced this inside an ...
3
votes
1answer
734 views

How to keep upstart installed-always, don't be replaced by sysvinit?

Each time I do apt-get dist-upgrade, the package sysvinit comes back and replaced upstart. Well, I have some scripts written for upstart, and I need to reinstall it every time (typing the annoying ...
2
votes
1answer
2k views

No windows frames on VNC screen

I am trying to configure good virtual desktop on my headless headless Ubuntu 14.04 server. Unfortunately, I see the following picture when open remote screen: I.e. windows have no frames and titles. ...
1
vote
1answer
3k views

initctl: Unable to connect to Upstart

I recently upgraded my server from Ubuntu V14.04 to V16.04 and now systemctl doesn't seem to work anymore. I need to prevent transmission-daemon from starting automatically on boot so I issue the ...