summarylogtreecommitdiffstats
path: root/vgetty@.service
diff options
context:
space:
mode:
authorPeter Pickford2016-02-18 01:44:53 -0800
committerPeter Pickford2016-02-18 05:30:13 -0800
commit90de26a6e4913fc7099717724e7348f90620e9a0 (patch)
tree166dd14f5a755ae18bbd7e48891cc0f0d20413e8 /vgetty@.service
parent59662e16c4aafd1e71b1a632cfb9e96c0d08ffb1 (diff)
downloadaur-90de26a6e4913fc7099717724e7348f90620e9a0.tar.gz
build vgetty instead of mgetty
remove Makefile.patch - not used fix manpage and info files localtion, update info dir fix install-info stdin closed problem (use </dev/null) update md5sums correct .SRCINFO for mgetty-vgetty update maintainer and .SRCINFO
Diffstat (limited to 'vgetty@.service')
-rw-r--r--vgetty@.service35
1 files changed, 35 insertions, 0 deletions
diff --git a/vgetty@.service b/vgetty@.service
new file mode 100644
index 000000000000..77cf5a3188a9
--- /dev/null
+++ b/vgetty@.service
@@ -0,0 +1,35 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Serial Vgetty on %I
+Documentation=man:vgetty(8) man:systemd-getty-generator(8)
+Documentation=http://0pointer.de/blog/projects/serial-console.html
+BindsTo=dev-%i.device
+After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
+
+# If additional gettys are spawned during boot then we should make
+# sure that this is synchronized before getty.target, even though
+# getty.target didn't actually pull it in.
+Before=getty.target
+IgnoreOnIsolate=yes
+
+[Service]
+ExecStart=-/sbin/vgetty %I
+Type=idle
+Restart=always
+RestartSec=0
+UtmpIdentifier=%I
+TTYPath=/dev/%I
+TTYReset=yes
+TTYVHangup=yes
+KillMode=process
+IgnoreSIGPIPE=no
+SendSIGHUP=yes
+
+[Install]
+WantedBy=getty.target