You've already forked disable-terminal
20 lines
327 B
Django/Jinja
20 lines
327 B
Django/Jinja
{{ ansible_managed | comment }}
|
|
|
|
[Unit]
|
|
Description=nyancat on tty1
|
|
After=graphical.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStartPre=/bin/sleep 5
|
|
ExecStart=/usr/bin/nyancat -snI
|
|
ExecStop=/bin/kill -HUP ${MAINPID}
|
|
StandardInput=tty
|
|
StandardOutput=tty
|
|
TTYPath=/dev/tty1
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=graphical.target
|