Created
March 26, 2023 19:08
-
-
Save maxlapshin/270039bc23fc93cc72945ce5c03f5f60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=WFB-CLI on tty1 | |
After=getty.target | |
Conflicts=getty@tty1.service | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/wfb-cli gs | |
ExecStop=/bin/kill -HUP ${MAINPID} | |
StandardInput=tty-force | |
StandardOutput=inherit | |
StandardError=inherit | |
TTYPath=/dev/tty1 | |
Restart=always | |
RestartSec=2 | |
[Install] | |
WantedBy=getty.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment