X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=units%2Fgetty%40.service.m4;h=890b4897a34c7ff86c46757366719db33c4862c2;hp=b4dfaf24e1c02f14fb72059f0cfbb4627de0563b;hb=835d81db939bf7a75fcf057462d71777ec475c21;hpb=5e6afdd3d359fc42de7ac432243e98673577e81f diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 index b4dfaf24e..890b4897a 100644 --- a/units/getty@.service.m4 +++ b/units/getty@.service.m4 @@ -15,15 +15,18 @@ # You should have received a copy of the GNU General Public License # along with systemd; If not, see . -# See systemd.special(7) for details -m4_ifdef(`TARGET_FEDORA', m4_define(`GETTY', `/sbin/mingetty'))m4_dnl -m4_ifdef(`TARGET_DEBIAN', m4_define(`GETTY', `/sbin/getty 38400'))m4_dnl - +m4_ifdef(`TARGET_FEDORA', `m4_define(`GETTY', `/sbin/mingetty')')m4_dnl +m4_ifdef(`TARGET_DEBIAN', `m4_define(`GETTY', `/sbin/getty 38400')')m4_dnl +m4_ifdef(`TARGET_GENTOO', `m4_define(`GETTY', `/sbin/agetty 38400')')m4_dnl +m4_dnl [Unit] Description=Getty on %I Before=getty.target After=basic.target +Conflicts=shutdown.target [Service] Type=simple ExecStart=GETTY %I +Restart=restart-always +RestartSec=0