aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/srb2kart/srb2kart.service
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2024-02-20 00:08:52 +0100
committerRenken <renken@shione.net>2024-05-12 16:49:44 +0200
commit67886f809d57c06b8a232cb461801f11e57f68a3 (patch)
treed575b00acef24f99887be1fc99b7236401825e91 /deploy/shione/srb2kart/srb2kart.service
parent84a5868bc4710aff0fa9b449501e162dace47a30 (diff)
downloadshione-67886f809d57c06b8a232cb461801f11e57f68a3.tar.gz
shione-67886f809d57c06b8a232cb461801f11e57f68a3.zip
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.
Diffstat (limited to 'deploy/shione/srb2kart/srb2kart.service')
-rw-r--r--deploy/shione/srb2kart/srb2kart.service7
1 files changed, 5 insertions, 2 deletions
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