2017-04-12 19:37:08 -04:00
|
|
|
[Unit]
|
|
|
|
Description=Subiquity, the installer for Ubuntu Server
|
|
|
|
After=systemd-user-sessions.service plymouth-quit-wait.service
|
2017-10-06 12:52:43 +13:00
|
|
|
After=rc-local.service snap.subiquity.started.service
|
2017-10-10 18:41:01 -04:00
|
|
|
Requires=snapd.service snap.subiquity.started.service
|
2017-04-12 19:37:08 -04:00
|
|
|
IgnoreOnIsolate=yes
|
|
|
|
ConditionPathExists=/dev/tty0
|
|
|
|
ConditionPathExists=!/run/subiquity/complete
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=PYTHONPATH=/usr/share/subiquity
|
|
|
|
ExecStartPre=/bin/systemctl stop getty@tty1
|
2017-09-21 11:34:20 +12:00
|
|
|
ExecStartPre=/bin/dmesg -n 1
|
2017-09-29 17:33:02 -04:00
|
|
|
ExecStartPre=/snap/bin/subiquity.subiquity-loadkeys
|
2017-04-12 19:37:08 -04:00
|
|
|
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
|