[Service]
ExecStart=/etc/X11/prefdm -nodaemon
+
+[Install]
+Alias=display-manager.service
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
m4_ifdef(`TARGET_SUSE',
Names=runlevel5.target
)m4_dnl
+
+[Install]
+Alias=default.target
+m4_ifdef(`TARGET_FEDORA',
+Alias=runlevel5.target
+)m4_dnl
Description=Halt
Requires=halt.service
After=halt.service
+
+[Install]
+Alias=ctrl-alt-del.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
Names=runlevel0.target
Requires=poweroff.service
After=poweroff.service
+
+[Install]
+Alias=ctrl-alt-del.target
Names=runlevel6.target
Requires=reboot.service
After=reboot.service
+
+[Install]
+Alias=ctrl-alt-del.target
Requires=basic.target
After=basic.target
Names=runlevel1.target
+
+[Install]
+Alias=kbrequest.target
What=tmpfs
Where=/var/lock
Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target
What=tmpfs
Where=/var/run
Type=tmpfs
+
+[Install]
+WantedBy=local-fs.target