tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit 64832d113165b76ad9de9abec67c01bbaa2264b0
parent 1ee2fa51d96645ac277e2fa41a776a4d8ae437c9
Author: rbckman <robinbackman@gmail.com>
Date:   Wed, 20 Jun 2018 15:04:12 +0000

update to tarina service startup

Diffstat:
Minstall.sh | 16++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/install.sh b/install.sh @@ -68,22 +68,26 @@ while true; do echo <<'EOF' >> /etc/systemd/system/tarina.service [Unit] Description=tarina -DefaultDependencies=false +After=getty.target +Conflicts=getty@tty1.service +#DefaultDependencies=false [Service] Type=simple -ExecStart=/usr/bin/screen /usr/bin/python /home/pi/tarina/tarina.py +RemainAfterExit=yes +ExecStart=/usr/bin/python /home/pi/tarina/tarina.py User=root WorkingDirectory=/home/pi/tarina Restart=on-failure -StandardInput=tty -TTYPath=/dev/tty5 +StandardInput=tty-force +StandardOutput=inherit +StandardError=inherit +TTYPath=/dev/tty1 TTYReset=yes TTYVHangup=yes [Install] -WantedBy=local-fs.target -EOF +WantedBy=local-fs.targetEOF chmod +x /home/pi/tarina/tarina.py systemctl enable tarina.service systemctl daemon-reload