From 630c628b93f6c442aea10f390272bdb1bbc8e580 Mon Sep 17 00:00:00 2001 From: Chris Wong Date: Tue, 8 Nov 2022 15:03:32 +0800 Subject: [PATCH] Add rlm server scripts --- server_scripts/restart_rlm_every_10min.sh | 6 ++++++ server_scripts/restart_rlm_every_5min.sh | 6 ++++++ wsl_cuda_fix.sh => wsl/wsl_cuda_fix.sh | 0 3 files changed, 12 insertions(+) create mode 100755 server_scripts/restart_rlm_every_10min.sh create mode 100755 server_scripts/restart_rlm_every_5min.sh rename wsl_cuda_fix.sh => wsl/wsl_cuda_fix.sh (100%) diff --git a/server_scripts/restart_rlm_every_10min.sh b/server_scripts/restart_rlm_every_10min.sh new file mode 100755 index 0000000..a733367 --- /dev/null +++ b/server_scripts/restart_rlm_every_10min.sh @@ -0,0 +1,6 @@ +#!/bin/bash +while : +do + systemctl restart rlm + sleep 10m +done diff --git a/server_scripts/restart_rlm_every_5min.sh b/server_scripts/restart_rlm_every_5min.sh new file mode 100755 index 0000000..4a1d9c7 --- /dev/null +++ b/server_scripts/restart_rlm_every_5min.sh @@ -0,0 +1,6 @@ +#!/bin/bash +while : +do + systemctl restart rlm + sleep 5m +done diff --git a/wsl_cuda_fix.sh b/wsl/wsl_cuda_fix.sh similarity index 100% rename from wsl_cuda_fix.sh rename to wsl/wsl_cuda_fix.sh