All Questions

Tagged with
Filter by
Sorted by
Tagged with
-4
votes
1answer
48 views

Ubuntu 18.04 startup questions regarding runlevels and *.wants directories

Is Ubuntu 18.04 using Upstart or systemd? I know with the directories named Rc0.d Rc1.d Rc2.d ......Rc6.d. we can control runlevels in Ubuntu 18.04. But what is the difference between what they do, ...
1
vote
1answer
138 views

Linux Centos 7 Convert upstart script into systemd service

I have the upstart script below, how can I translate it into a systemd service ? description "x11vnc" start on runlevel [2345] stop on runlevel [^2345] #console log respawn respawn limit 20 5 ...
0
votes
1answer
502 views

Init running in Debian 9.1

I have the /usr/lib/systemd and /etc/systemd directories, and systemd is running. But I also have the /etc/init/ directory, with several .conf configuration files, I thought this was a sign of ...
4
votes
2answers
463 views

Why is upstart a childprocess of systemd?

🌐 pstree -h systemd─┬─ModemManager─┬─{gdbus} │ └─{gmain} ├─NetworkManager─┬─dhclient │ ├─dnsmasq │ ├─{gdbus} │ ...
1
vote
1answer
588 views

How can I have systemd execute a script only if a service was stopped via systemctl, but not execute if it crashed by itself?

What I am looking for, is the equivalent of the pre-stop stanza in upstart, for systemd
2
votes
0answers
166 views

Deploying an upstart project on a systemd machine with Capistrano

I am trying to configure a deployment for a Ubuntu 14.0.4 app on a RHEL 7 machine and the upstart-systemd difference is causing a lot of issues (foreman scripts ...). Does anyone have experience on ...
1
vote
1answer
917 views

Systemd to upstart

I got a systemd service and I am still using Ubuntu 14.04 for various reasons. As you probably know ubuntu uses upstart and not systemd. Can you guys help me convert this systemd service to an upstart ...
0
votes
1answer
314 views

How do I import Amazon EC2 instance/user data into the environments of the services on my machine?

I am using Ubuntu 14.04 and 16.10; so my init system can be either upstart or systemd. Things like How to set an environment variable in Amazon EC2 over on Stack Overflow show how one fetches an ...
1
vote
1answer
1k views

Ubuntu's main bootup only returns blank screen, systemd bootup works fine

I use Grub to boot between Ubuntu and Windows. The options are somewhat like Ubuntu Ubuntu (Recovery Mode) Windows If I choose 1, it shows the Ubuntu logo, the little balls under it flowing. Then ...
1
vote
1answer
156 views

systemd underestimates boot time. How can I try upstart?

Sorry in advance if this is a stupid question, but I'm new to this issue and every time I google it, I just get comparisons of upstart versus systemd. Anyway, my Samsung laptop with Mint 18 is taking ...
5
votes
2answers
7k views

Making environment variables available for downstream processes started within an init.d script

This questions stems from @FrustratedWithFormsDesigner comment. How do I make export environment variables set within an init.d script available to downstream processes started within that same init....
7
votes
1answer
903 views

Is there any systemd equivalent to “initctl emit”?

In upstart, it was possible to send custom events with initctl emit custom-event. It was also possible to use these custom events on the start on and stop on stanzas. Does systemd provides something ...
2
votes
1answer
421 views

Confusion about systemd, environment files and command-line arguments to the service executable

I'm trying to convert an upstart script to systemd, but I can't figure out how to pass command line arguments to the executable. Here is the original upstart script: # job description description "...
1
vote
0answers
142 views

Systemd: Running a script before msyql stops on shutdown

On my Ubuntu 14 vagrant box I use this upstart script to run automysqlbackup on every vagrant halt: description "run automysqlbackup" start on stopping mysql task exec automysqlbackup So ...
2
votes
0answers
488 views

Linux: Why do init and systemd use so much I/O?

This is probably unanswerable. But maybe someone else will have this problem and find this question, append to it, or proffer an answer. I discovered the pidstat command with its -d option, today. ...
1
vote
0answers
104 views

Show kernel parameters passed to init [duplicate]

I learned that if the kernel does not understand a parameter, it saves it and passes it to init when performing the user space start. While e.g. in show parameters of running kernel or How to display ...
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 ...
2
votes
2answers
756 views

Does Debian Testing use Sysvinit, Systemd or Upstart? How do I configure it (them?)?

I have a copy of Debian Gnome, installed from live medium then upgraded to testing. I've decided to change my default X environment from GDM to i3 for reasons of productivity. This lead me to wanting ...
4
votes
0answers
391 views

Is there a way to develop upstart scripts on fedora 21?

I'm working on creating upstart scripts for an internal service I'm working on. I realize systemd has triumphed over upstart, but our company already has an investment in upstart and I'm just tacking ...
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 ...
0
votes
0answers
42 views

Bash script to identify which init system the system currently using [duplicate]

I have to create a script that will mount my /usr folder as aufs. I compressed it using squashfs. I've managed to install a working systemd init in ubuntu which I am currently using. Because the ...
5
votes
2answers
5k views

What's the status of Upstart on Debian? [closed]

I know that this question has already got asked before, but it's pretty old and things have changed (probably). Already in 2009 the news rumbled, that Debian was going to switch to Upstart. You were ...
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?