add start.sh for run on server
continuous-integration/drone/push Build is failing Details

Server
Hugo LIVET 2 years ago
parent a20b02dc33
commit 18cad2aac0

2
.gitignore vendored

@ -10,6 +10,8 @@
*.userosscache *.userosscache
*.sln.docstates *.sln.docstates
Server.exe
# User-specific files (MonoDevelop/Xamarin Studio) # User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs *.userprefs

@ -1,4 +1,4 @@
using System; using System;
using System.Net; using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using System.Collections.Generic; using System.Collections.Generic;
@ -49,3 +49,6 @@ class Program
server.Close(); server.Close();
} }
} }

@ -0,0 +1,4 @@
#! /bin/bash
mcs -out:Server.exe Program.cs
screen -d -m -S leapServer mono Server.exe
Loading…
Cancel
Save