chiark / gitweb /
systemadm: fix link when fragment path is unknown
[elogind.git] / units / getty@.service.m4
1 #  This file is part of systemd.
2 #
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.
7
8 m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
9 m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
10 m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
11 m4_dnl
12 [Unit]
13 Description=Getty on %I
14 Before=getty.target
15 After=basic.target
16 Conflicts=shutdown.target
17
18 [Service]
19 Type=simple
20 ExecStart=GETTY %I
21 Restart=restart-always
22 RestartSec=0