Steve Langasek 5a3ccfef34 Import patches-unapplied version 2.472 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 84ef6ff8e3e67562bf44191ec9b0c3da4237b4ff

New changelog entries:
  [ Michael Hudson-Doyle ]
  * Add snap.subiquity.started.service to subiquity.service's Requires=.
2017-10-10 22:58:37 +00:00

34 lines
896 B
Desktop File

[Unit]
Description=Subiquity, the installer for Ubuntu Server
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service snap.subiquity.started.service
Requires=snapd.service snap.subiquity.started.service
IgnoreOnIsolate=yes
ConditionPathExists=/dev/tty0
ConditionPathExists=!/run/subiquity/complete
[Service]
Environment=PYTHONPATH=/usr/share/subiquity
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
#KillMode=process
#Restart=always
#StandardInput=tty-force
#StandardOutput=tty
#StandardError=tty