You are not logged in.

#1 2013-04-15 21:13:36

PAdu92
Member
Registered: 2008-06-04
Posts: 101

[systemd] How to disable a service at boot? [solved]

Hi all,
I just did a stupid too early reboot on my Archlinux machine after the new network update. So I missed a step and don't have network connection to access SSH on that machine.
Also, I have XBMC installed and has a service file that loads XBMC at boot so I can't get to a terminal. How can I disable XBMC service? Maybe a command for grub 2?

Last edited by PAdu92 (2013-04-15 21:26:28)

Offline

#2 2013-04-15 21:22:23

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: [systemd] How to disable a service at boot? [solved]

Just jump over to a tty (typically ctrl+alt+F2 will be the next available). As for disabling services in systemd:

# systemctl disable <name of service>.service

Please read the systemd man-pages, they are very well-written and cover everything you need to know.

All the best,

-HG

Offline

#3 2013-04-15 21:24:47

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: [systemd] How to disable a service at boot? [solved]

Try passing these arguments on the kernel command line via GRUB :
systemd.unit=multi-user.target
systemd.unit=emergency.target
Source: http://fedoraproject.org/wiki/Systemd#B … mmand_Line

Offline

#4 2013-04-15 21:25:51

PAdu92
Member
Registered: 2008-06-04
Posts: 101

Re: [systemd] How to disable a service at boot? [solved]

Thanks

Offline

Board footer

Powered by FluxBB