Steve Langasek 979261d927 Import patches-unapplied version 2.475 to ubuntu/artful-proposed
Imported using git-ubuntu import.

Changelog parent: 00b23f0f6b41c76287d3f62c46983c77bfb0c01f

New changelog entries:
  * Add the SNAP_REEXEC=0 enviroment to the subiquity service as well.
2017-10-12 04:54:04 +00:00

35 lines
922 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
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
#KillMode=process
#Restart=always
#StandardInput=tty-force
#StandardOutput=tty
#StandardError=tty