From 67886f809d57c06b8a232cb461801f11e57f68a3 Mon Sep 17 00:00:00 2001 From: Renken Date: Tue, 20 Feb 2024 00:08:52 +0100 Subject: srb2kart: read standard input from socket Drop dependency on byobu, currently the socket solution does not work but it shouldn't be too hard to fix it. --- deploy/shione/srb2kart/srb2kart.service | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'deploy/shione/srb2kart/srb2kart.service') diff --git a/deploy/shione/srb2kart/srb2kart.service b/deploy/shione/srb2kart/srb2kart.service index d9806ba..807b820 100644 --- a/deploy/shione/srb2kart/srb2kart.service +++ b/deploy/shione/srb2kart/srb2kart.service @@ -5,9 +5,12 @@ StartLimitIntervalSec=0 [Service] PermissionsStartOnly=false +Sockets=srb2kart.socket +StandardInput=socket +StandardError=journal Environment=LC_ALL=C -ExecStart=/usr/bin/byobu new-session -ds srb2kart srb2kartd -Type=forking +ExecStart=/home/srb2kart/.local/bin/srb2kart -dedicated +Type=simple RemainAfterExit=false Restart=always RestartSec=1s -- cgit v1.2.3