Move subiquity systemd service to includes.binary; so that it's copied only on the installer overlay.
parent
86b64ef78e
commit
303c7a29ec
@ -0,0 +1 @@
|
|||||||
|
../subiquity.service
|
@ -1,31 +0,0 @@
|
|||||||
[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
|
|
||||||
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
|
|
Loading…
Reference in new issue