aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/shione/srb2kart/srb2kart.service
diff options
context:
space:
mode:
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