Linked Questions

5 votes
1 answer
7k views

systemd still maintains the general idea of runlevels with its "Targets", but how do I change the system runlevel through systemd? I want to do something equivalent to the old init-script method of: ...
palswim's user avatar
  • 5,677
0 votes
1 answer
2k views

In CentOS 7 I wanted to start httpd service only in runlevel 3 and 5, in other runlevels such as 2 and 4 the service shouldn't start. In CentOS 6 we can achieve this by using "chkconfig" command. ...
user358804's user avatar
177 votes
2 answers
243k views

I just switched to debian jessie, and most things run okay, including my graphical display manager wdm. The thing is, I just don't understand how this works. Obviously my /etc/init.d/wdm script is ...
Martin Drautzburg's user avatar
92 votes
4 answers
39k views

Reading "What is the difference between Halt and Shutdown commands?" , I generally have an idea what does the command shutdown does, with or without -h/-r options. The "halt" command performs power ...
Win.T's user avatar
  • 1,155
14 votes
2 answers
26k views

Update: I have succeeded in creating a very simple demo of using the init= bootparam to specify that a custom binary (written in golang and compiled) should be used in place of the standard init. The ...
Bruno Bronosky's user avatar
3 votes
2 answers
16k views

When I enter into grub menu, I get two entries : CentOS Linux (3.10.0-514.21.1.el7.x86_64) 7 (Core) CentOS Linux (0-rescue-e1ac24cbe9f94f2caa228d77e027be8b) 7 (Core) When I boot into the second line (...
timothepoznanski's user avatar
4 votes
3 answers
6k views

I am used to the old method of calling init 0 to shutdown. Bad, I know; but when I tried it on my new Arch install I get this: # init 0 Excess Arguments This confuses me because I thought systemd was ...
prolificslacker's user avatar
1 vote
3 answers
10k views

I installed a minimal Debian system (stable) without GUI, switched to testing/jessie to be able to get the Cinnamon desktop, but X didn't start on boot. If I log in as myself at the CLI, I can type ...
GKFX's user avatar
  • 178
2 votes
1 answer
14k views

In the good old days you would use chkconfig to see if a service was enabled for a run level. E.g. chkconfig --list tgtd However, now you're supposed to use systemctl. But I can't get systemctl to ...
Snowcrash's user avatar
  • 789
2 votes
2 answers
8k views

Is /etc/init.d the default search path that the systemd generator uses to convert native SysV script to unit files, and falls back to /etc/rc?.d or vice versa? From this answer by @JdeBP: This ...
direprobs's user avatar
  • 1,064
1 vote
2 answers
3k views

I am using Linux Mint on my office laptop and there are two user accounts on it. one is the director's account and the other is mine. Although I did sudo command on the terminal before now I cant.It ...
WCM's user avatar
  • 111
0 votes
1 answer
2k views

we know that runlevl of multi user mode is N 5 but on our redhat 7.2 we get the following runlevel 5 3 what is the meaning of this run-level ? how to change this machine to multi user mode ( full ...
yael's user avatar
  • 14k
0 votes
1 answer
2k views

At the moment I have a daemon starting at boot using rc.local by the following line. su -l user -c '/dir/daemon' but I would like to start this process as a service with respawn. I found out that it ...
Kuravi H's user avatar
3 votes
0 answers
2k views

When studying about Linux runlevels I came across something I was unable to explain to myself while trying to change the DEFAULT_RUNLEVEL. When I boot Mint, it starts in runlevel 5, even though it ...
Sakk's user avatar
  • 31
2 votes
1 answer
1k views

I have not a clear understanding of runlevels and how they work. I know runlevels are a digit indicating which processes should be started by init. Pratically speaking: at startup init sees this ...
Drew Ber's user avatar

15 30 50 per page