chiark / gitweb /
dbus: allow systemd to receive activation requests
[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_SUSE', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl
10 m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl
11 m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl
12 m4_dnl
13 [Unit]
14 Description=Getty on %I
15 Before=getty.target
16 After=basic.target
17 Conflicts=shutdown.target
18
19 [Service]
20 Environment=TERM=linux
21 ExecStart=GETTY %I
22 Restart=restart-always
23 RestartSec=0
24 KillMode=process-group