chiark / gitweb /
unit: add [Install] section to various service files
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Jun 2010 19:56:21 +0000 (21:56 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 18 Jun 2010 19:56:21 +0000 (21:56 +0200)
units/fedora/prefdm.service
units/getty@.service.m4
units/graphical.target.m4
units/halt.target
units/multi-user.target.m4
units/poweroff.target
units/reboot.target
units/rescue.target
units/var-lock.mount
units/var-run.mount

index 3428026..2f4333f 100644 (file)
@@ -14,3 +14,6 @@ Conflicts=shutdown.target
 
 [Service]
 ExecStart=/etc/X11/prefdm -nodaemon
+
+[Install]
+Alias=display-manager.service
index 8f3f628..5f6944f 100644 (file)
@@ -23,3 +23,11 @@ ExecStart=GETTY %I
 Restart=restart-always
 RestartSec=0
 KillMode=process-group
+
+[Install]
+Alias=getty.target.wants/getty@tty1.service
+Alias=getty.target.wants/getty@tty2.service
+Alias=getty.target.wants/getty@tty3.service
+Alias=getty.target.wants/getty@tty4.service
+Alias=getty.target.wants/getty@tty5.service
+Alias=getty.target.wants/getty@tty6.service
index 98555ad..6228026 100644 (file)
@@ -20,3 +20,9 @@ Names=runlevel5.target
 m4_ifdef(`TARGET_SUSE',
 Names=runlevel5.target
 )m4_dnl
+
+[Install]
+Alias=default.target
+m4_ifdef(`TARGET_FEDORA',
+Alias=runlevel5.target
+)m4_dnl
index 9c735ea..77b4044 100644 (file)
@@ -11,3 +11,6 @@
 Description=Halt
 Requires=halt.service
 After=halt.service
+
+[Install]
+Alias=ctrl-alt-del.target
index 2cc7489..eb46b2b 100644 (file)
@@ -20,3 +20,11 @@ Names=runlevel3.target
 m4_ifdef(`TARGET_SUSE',
 Names=runlevel3.target
 )m4_dnl
+
+[Install]
+Alias=default.target
+m4_ifdef(`TARGET_FEDORA',
+Alias=runlevel2.target
+Alias=runlevel3.target
+Alias=runlevel4.target
+)m4_dnl
index fe915c0..b2b56b2 100644 (file)
@@ -12,3 +12,6 @@ Description=Power-Off
 Names=runlevel0.target
 Requires=poweroff.service
 After=poweroff.service
+
+[Install]
+Alias=ctrl-alt-del.target
index 3b03dbd..b3be52f 100644 (file)
@@ -12,3 +12,6 @@ Description=Reboot
 Names=runlevel6.target
 Requires=reboot.service
 After=reboot.service
+
+[Install]
+Alias=ctrl-alt-del.target
index 8234f1a..0398f9b 100644 (file)
@@ -12,3 +12,6 @@ Description=Rescue Prompt
 Requires=basic.target
 After=basic.target
 Names=runlevel1.target
+
+[Install]
+Alias=kbrequest.target
index dbfee59..a7668da 100644 (file)
@@ -13,3 +13,6 @@ Before=local-fs.target
 What=tmpfs
 Where=/var/lock
 Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target
index add284a..c082507 100644 (file)
@@ -13,3 +13,6 @@ Before=local-fs.target
 What=tmpfs
 Where=/var/run
 Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target