2017-03-20 20:57:45 -04:00
|
|
|
[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
|
|
|
|
ExecStartPre=/bin/systemctl stop getty@tty1
|
2017-09-20 11:59:57 +12:00
|
|
|
ExecStartPre=/bin/dmesg -n 1
|
2017-09-29 16:59:33 -04:00
|
|
|
ExecStartPre=/snap/bin/subiquity.subiquity-loadkeys
|
2017-03-20 20:57:45 -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
|