Mathieu Trudel-Lapierre 0031d747ac Import patches-unapplied version 2.441 to ubuntu/zesty-proposed
Imported using git-ubuntu import.

Changelog parent: 2ac1eda867ebc37261e396efe1ac1c6ed38a28cf

New changelog entries:
  [ Balint Reczey ]
  * Add a basic but configurable autopkgtest.
  [ Mathieu Trudel-Lapierre ]
  * Add ubuntu-server:live for a subiquity-based server image.
  * Refactor functions out of ubuntu-cpc and ubuntu-server hooks.
2017-04-13 03:33:12 +00:00

31 lines
719 B
Desktop File

[Unit]
Description=Subiquity debug shell %I
After=systemd-user-sessions.service plymouth-quit-wait.service
After=rc-local.service
IgnoreOnIsolate=yes
ConditionPathExists=/dev/tty0
ConditionPathExists=!/run/subiquity/complete
[Service]
Environment=PYTHONPATH=/usr/share/subiquity
ExecStartPre=/bin/systemctl stop getty@%I
ExecStart=/sbin/agetty -n --noclear -l /usr/share/subiquity/subiquity-debug %I $TERM
ExecStopPost=/bin/systemctl start getty@%I
Type=idle
Restart=always
RestartSec=0
UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
#KillMode=process
#Restart=always
#StandardInput=tty-force
#StandardOutput=tty
#StandardError=tty