Init
This commit is contained in:
17
roles/nyancat/files/nyancat-tty.service
Normal file
17
roles/nyancat/files/nyancat-tty.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user