aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/srb2kart/srb2kart.service
diff options
context:
space:
mode:
authorRenken <renken@shione.net>2024-01-20 21:26:36 +0100
committerRenken <renken@shione.net>2024-05-12 16:49:35 +0200
commit53d2c6716e6fcedc9c21fb3933ffa4a007654dc2 (patch)
tree4db3ddcfb245efb08d259e9708f1b59248bd5282 /deploy/shione/srb2kart/srb2kart.service
parentefd70116f17350310a7093b78faaa0eaafa471d5 (diff)
downloadshione-53d2c6716e6fcedc9c21fb3933ffa4a007654dc2.tar.gz
shione-53d2c6716e6fcedc9c21fb3933ffa4a007654dc2.zip
split into two commits one for nftables and one for srb2kart
Diffstat (limited to 'deploy/shione/srb2kart/srb2kart.service')
-rw-r--r--deploy/shione/srb2kart/srb2kart.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/deploy/shione/srb2kart/srb2kart.service b/deploy/shione/srb2kart/srb2kart.service
new file mode 100644
index 0000000..d9806ba
--- /dev/null
+++ b/deploy/shione/srb2kart/srb2kart.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=SRB2Kart Server
+After=network.target
+StartLimitIntervalSec=0
+
+[Service]
+PermissionsStartOnly=false
+Environment=LC_ALL=C
+ExecStart=/usr/bin/byobu new-session -ds srb2kart srb2kartd
+Type=forking
+RemainAfterExit=false
+Restart=always
+RestartSec=1s
+TimeoutSec=180
+
+[Install]
+WantedBy=default.target