mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-21 18:03:41 +03:00
units: add a couple of Conflicts to make boot targets exclusive
This commit is contained in:
parent
bd3d19a4ea
commit
50321ee3ef
@ -21,6 +21,7 @@
|
|||||||
Description=Basic System
|
Description=Basic System
|
||||||
Requires=local-fs.target swap.target sockets.target
|
Requires=local-fs.target swap.target sockets.target
|
||||||
After=local-fs.target swap.target sockets.target
|
After=local-fs.target swap.target sockets.target
|
||||||
|
Conflicts=emergency.service
|
||||||
m4_dnl
|
m4_dnl
|
||||||
m4_ifdef(`TARGET_FEDORA',
|
m4_ifdef(`TARGET_FEDORA',
|
||||||
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
|
m4_dnl Hook in Fedora's /etc/rc.d/rc.sysinit
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
Description=Graphical Interface
|
Description=Graphical Interface
|
||||||
Requires=multi-user.target
|
Requires=multi-user.target
|
||||||
After=multi-user.target
|
After=multi-user.target
|
||||||
|
Conflicts=rescue.target
|
||||||
m4_dnl
|
m4_dnl
|
||||||
m4_ifdef(`TARGET_FEDORA',
|
m4_ifdef(`TARGET_FEDORA',
|
||||||
m4_dnl On Fedora Runlevel 5 is graphical login
|
m4_dnl On Fedora Runlevel 5 is graphical login
|
||||||
|
@ -21,6 +21,7 @@
|
|||||||
Description=Multi-User
|
Description=Multi-User
|
||||||
Requires=basic.target
|
Requires=basic.target
|
||||||
After=basic.target
|
After=basic.target
|
||||||
|
Conflicts=rescue.target
|
||||||
m4_dnl
|
m4_dnl
|
||||||
m4_ifdef(`TARGET_FEDORA',
|
m4_ifdef(`TARGET_FEDORA',
|
||||||
m4_dnl On Fedora Runlevel 3 is multi-user
|
m4_dnl On Fedora Runlevel 3 is multi-user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user