commit 5adf70f5973aca72ff9e81c5c29046193f3e923b parent 5e75d9c744ceac9ac500e7091638e4d5e9dbfd80 Author: rob <rob@tarina.org> Date: Fri, 20 Jan 2023 13:17:26 +0000 tack lennart Diffstat:
M | install.sh | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh @@ -210,7 +210,7 @@ Conflicts=getty@tty1.service [Service] Type=simple RemainAfterExit=yes -ExecStart=/usr/bin/python3 /home/pi/tarina/tarina.py default +ExecStart=/usr/bin/nohup /usr/bin/python3 /home/pi/tarina/tarina.py default User=pi Restart=on-failure StandardInput=tty-force @@ -227,6 +227,10 @@ CPUSchedulingPriority=99 WantedBy=local-fs.target EOF +#thanx systemd for making me search for years to make this all workd like a normal programd. +loginctl enable-linger +loginctl enable-linger pi + chmod +x /home/pi/tarina/tarina.py systemctl enable tarina.service systemctl daemon-reload