blob: 20ee6e90f753cf026c94e4342e2f61808e34bc54 [file] [log] [blame]
Lennart Poettering5e6afdd2010-05-17 01:34:36 +02001# This file is part of systemd.
2#
Lennart Poettering5e6afdd2010-05-17 01:34:36 +02003# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
Lennart Poettering5e6afdd2010-05-17 01:34:36 +02007
Lennart Poetteringe6aad082010-05-17 02:17:47 +02008m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
Kay Sieverscfe243e2010-05-20 17:55:42 +02009m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
Lennart Poetteringe6aad082010-05-17 02:17:47 +020010m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
Marc-Antoine Perennou419f3282010-05-17 11:49:58 +020011m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
Lennart Poetteringe6aad082010-05-17 02:17:47 +020012m4_dnl
Lennart Poettering5e6afdd2010-05-17 01:34:36 +020013[Unit]
14Description=Getty on %I
15Before=getty.target
16After=basic.target
Lennart Poettering835d81d2010-05-18 03:08:35 +020017Conflicts=shutdown.target
Lennart Poettering5e6afdd2010-05-17 01:34:36 +020018
19[Service]
Lennart Poetteringcd6e4022010-06-01 19:49:13 +020020Environment=TERM=linux
Lennart Poettering5e6afdd2010-05-17 01:34:36 +020021Type=simple
22ExecStart=GETTY %I
Lennart Poettering1e3fc652010-05-18 03:08:18 +020023Restart=restart-always
24RestartSec=0
Lennart Poetteringcd6e4022010-06-01 19:49:13 +020025KillMode=process-group