Delete new server.pid instead of hypnotoad.pid

This commit is contained in:
difegue 2021-06-01 17:36:17 +02:00
parent 4ed982ca77
commit 1e48229821

View File

@ -113,7 +113,7 @@ namespace Karen.Interop
wslCommands.Add($"export LRR_NETWORK=http://*:{Properties.Settings.Default.NetworkPort}");
wslCommands.Add($"export LRR_DATA_DIRECTORY='{contentFolder}'");
wslCommands.Add($"export LRR_THUMB_DIRECTORY='{thumbnailFolder}'");
wslCommands.Add($"cd /home/koyomi/lanraragi && rm -f script/hypnotoad.pid");
wslCommands.Add($"cd /home/koyomi/lanraragi && rm -f public/temp/server.pid");
wslCommands.Add($"mkdir -p log && mkdir -p content && mkdir -p database && sysctl vm.overcommit_memory=1");
wslCommands.Add($"redis-server /home/koyomi/lanraragi/tools/build/docker/redis.conf --dir '{contentFolder}/' --daemonize yes");
wslCommands.Add($"perl ./script/launcher.pl -f ./script/lanraragi");