Lennart Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 1 | # This file is part of systemd. |
| 2 | # |
Lennart Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 3 | # 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 Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 7 | |
Lennart Poettering | e6aad08 | 2010-05-17 02:17:47 +0200 | [diff] [blame] | 8 | m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl |
Kay Sievers | cfe243e | 2010-05-20 17:55:42 +0200 | [diff] [blame] | 9 | m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl |
Lennart Poettering | e6aad08 | 2010-05-17 02:17:47 +0200 | [diff] [blame] | 10 | m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl |
Marc-Antoine Perennou | 419f328 | 2010-05-17 11:49:58 +0200 | [diff] [blame] | 11 | m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl |
Lennart Poettering | e6aad08 | 2010-05-17 02:17:47 +0200 | [diff] [blame] | 12 | m4_dnl |
Lennart Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 13 | [Unit] |
| 14 | Description=Getty on %I |
| 15 | Before=getty.target |
| 16 | After=basic.target |
Lennart Poettering | 835d81d | 2010-05-18 03:08:35 +0200 | [diff] [blame] | 17 | Conflicts=shutdown.target |
Lennart Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 18 | |
| 19 | [Service] |
Lennart Poettering | cd6e402 | 2010-06-01 19:49:13 +0200 | [diff] [blame^] | 20 | Environment=TERM=linux |
Lennart Poettering | 5e6afdd | 2010-05-17 01:34:36 +0200 | [diff] [blame] | 21 | Type=simple |
| 22 | ExecStart=GETTY %I |
Lennart Poettering | 1e3fc65 | 2010-05-18 03:08:18 +0200 | [diff] [blame] | 23 | Restart=restart-always |
| 24 | RestartSec=0 |
Lennart Poettering | cd6e402 | 2010-06-01 19:49:13 +0200 | [diff] [blame^] | 25 | KillMode=process-group |