Michael Hudson-Doyle 694a6b88d1 Import patches-unapplied version 2.494 to ubuntu/bionic-proposed
Imported using git-ubuntu import.

Changelog parent: 958a32a53124a1b7134e51645549a8a18034fc27

New changelog entries:
  * Run subiquity on any serial consoles that the user told systemd
    about.
2018-01-31 10:19:16 +00:00

29 lines
761 B
Desktop File

[Unit]
Description=Subiquity, the installer for Ubuntu Server
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
Requires=snapd.service
IgnoreOnIsolate=yes
ConditionPathExists=/dev/tty0
ConditionPathExists=!/run/subiquity/complete
[Service]
Environment=PYTHONPATH=/usr/share/subiquity
Environment=SNAP_REEXEC=0
ExecStartPre=/bin/systemctl stop getty@tty1
ExecStartPre=/bin/dmesg -n 1
ExecStartPre=/snap/bin/subiquity.subiquity-loadkeys
ExecStart=/sbin/agetty -n --noclear -l /snap/bin/subiquity tty1 $TERM
ExecStopPost=/bin/systemctl start getty@tty1
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=tty1
TTYPath=/dev/tty1
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes