mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 10:43:35 +08:00
units: on mandriva/fedora create single.service alias via symlink, not Names=
This commit is contained in:
parent
97df13c0ac
commit
b1c66c44ef
10
Makefile.am
10
Makefile.am
@ -1411,8 +1411,9 @@ if TARGET_FEDORA
|
||||
rm -f halt-local.service && \
|
||||
$(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
|
||||
( cd $(DESTDIR)$(systemunitdir) && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) prefdm.service display-manager.service )
|
||||
rm -f display-manager.service single.service && \
|
||||
$(LN_S) prefdm.service display-manager.service && \
|
||||
$(LN_S) rescue.service single.service )
|
||||
( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
|
||||
@ -1427,8 +1428,9 @@ if TARGET_MANDRIVA
|
||||
rm -f halt-local.service && \
|
||||
$(LN_S) $(systemunitdir)/halt-local.service halt-local.service )
|
||||
( cd $(DESTDIR)$(systemunitdir) && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) prefdm.service display-manager.service )
|
||||
rm -f display-manager.service single.service && \
|
||||
$(LN_S) prefdm.service display-manager.service && \
|
||||
$(LN_S) rescue.service single.service )
|
||||
( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \
|
||||
rm -f display-manager.service && \
|
||||
$(LN_S) $(systemunitdir)/display-manager.service display-manager.service )
|
||||
|
@ -13,9 +13,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=basic.target
|
||||
Before=shutdown.target
|
||||
m4_ifdef(`TARGET_MANDRIVA',
|
||||
`# Hide SysV script
|
||||
Names=single.service')
|
||||
|
||||
[Service]
|
||||
Environment=HOME=/root
|
||||
|
Loading…
Reference in New Issue
Block a user