]>
Commit | Line | Data |
---|---|---|
5e6afdd3 LP |
1 | # This file is part of systemd. |
2 | # | |
5e6afdd3 LP |
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. | |
5e6afdd3 | 7 | |
e6aad08b | 8 | m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl |
cfe243e3 | 9 | m4_ifdef(`TARGET_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl |
e6aad08b | 10 | m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl |
419f3284 | 11 | m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl |
1ebdf2d8 | 12 | m4_ifdef(`TARGET_ARCH', `m4_define(`GETTY', `/sbin/agetty -8 38400')')m4_dnl |
e6aad08b | 13 | m4_dnl |
5e6afdd3 LP |
14 | [Unit] |
15 | Description=Getty on %I | |
16 | Before=getty.target | |
17 | After=basic.target | |
835d81db | 18 | Conflicts=shutdown.target |
5e6afdd3 LP |
19 | |
20 | [Service] | |
cd6e402e | 21 | Environment=TERM=linux |
5e6afdd3 | 22 | ExecStart=GETTY %I |
1e3fc654 LP |
23 | Restart=restart-always |
24 | RestartSec=0 | |
cd6e402e | 25 | KillMode=process-group |