]> err.no Git - systemd/commitdiff
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 3428026c54e30953a973a5c8cb33a54e613db49f..2f4333f3c07411c5320f6f37e2ef7bd3be17838b 100644 (file)
@@ -14,3 +14,6 @@ Conflicts=shutdown.target
 
 [Service]
 ExecStart=/etc/X11/prefdm -nodaemon
+
+[Install]
+Alias=display-manager.service
index 8f3f628b54684aa8e9276eaea6f6f8c888132e33..5f6944fadbe8dc8c0031889d8fc5b1a426dfa38c 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 98555adc24bc13a6acc2c298ad6eb754d238b234..6228026dcad1c6572986af069c12a73f5e44e5d6 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 9c735ea7c5342b3ef25e8ab6d2a0d72ad4f9d79f..77b4044229c0e77b67ff8795855bd7e7ed678edc 100644 (file)
@@ -11,3 +11,6 @@
 Description=Halt
 Requires=halt.service
 After=halt.service
+
+[Install]
+Alias=ctrl-alt-del.target
index 2cc74893eddfd1ceea3be9705372e50ca9d597d8..eb46b2b4ac215bed5f2f6d27aea80c2125e70f7b 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 fe915c0a96cc1134c1718dfc6029b950fb5aefff..b2b56b2893b34009558e4dd017f4685d91b60193 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 3b03dbd2d0807e422fcb7bcfaac52717dbd15267..b3be52ff900aea8ea6d84fa1c0cf648a8eacf177 100644 (file)
@@ -12,3 +12,6 @@ Description=Reboot
 Names=runlevel6.target
 Requires=reboot.service
 After=reboot.service
+
+[Install]
+Alias=ctrl-alt-del.target
index 8234f1a23e3a488ca31cd5f80c4f94fb9ec42a5f..0398f9bfb4a67cfc64919de67f2bc531a738deff 100644 (file)
@@ -12,3 +12,6 @@ Description=Rescue Prompt
 Requires=basic.target
 After=basic.target
 Names=runlevel1.target
+
+[Install]
+Alias=kbrequest.target
index dbfee59a7a960aecb146090fcc82b6dbd7db84a7..a7668da8bd39b3fc412d4505e8c5c3f278463c50 100644 (file)
@@ -13,3 +13,6 @@ Before=local-fs.target
 What=tmpfs
 Where=/var/lock
 Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target
index add284ae8dd6ece1a2c976356454890b94cb0771..c082507b1ae28d24fe4d689ad472533b7928a887 100644 (file)
@@ -13,3 +13,6 @@ Before=local-fs.target
 What=tmpfs
 Where=/var/run
 Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target