summaryrefslogtreecommitdiff
path: root/recipes/systemd/files/getty-serial@.service
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-06-16 23:03:24 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-06-18 00:27:15 +0200
commit119349c48a0709faec1c06086029aadbdc86f3e5 (patch)
tree23c6d8f43f9a84aa1a9b936d93e96c0b4146d39e /recipes/systemd/files/getty-serial@.service
parent1b78440c8d329621a4e8b433112f057833c4dc91 (diff)
systemd: add systemd to openembedded
* not fully functional yet * needs udev-154 and cgroup enabled in kernel * halt/reboot don't work with busybox
Diffstat (limited to 'recipes/systemd/files/getty-serial@.service')
-rw-r--r--recipes/systemd/files/getty-serial@.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/systemd/files/getty-serial@.service b/recipes/systemd/files/getty-serial@.service
new file mode 100644
index 0000000000..62e4695243
--- /dev/null
+++ b/recipes/systemd/files/getty-serial@.service
@@ -0,0 +1,19 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Getty on %I
+Before=getty.target
+After=basic.target
+Conflicts=shutdown.target
+
+[Service]
+Environment=TERM=linux
+ExecStart=/sbin/getty @BAUDRATE@ %I
+Restart=restart-always
+RestartSec=0
+KillMode=process-group