You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2020. It is now read-only.
Hello! I'm trying to setup your server as systemd service but got some trouble.
When I run it manually it works well
aiscy@ogryzok2:~$ mono /home/aiscy/PhiServer/PhiServer.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Launching server for 0.0.0.0 on port 16180
But if I run as service, I get this message:
Loaded: loaded (/etc/systemd/system/phiserver.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2017-01-11 15:49:35 UTC; 1s ago
Process: 28328 ExecStart=/usr/bin/mono /home/aiscy/PhiServer/PhiServer.exe (code=exited, status=0/SUCCESS)
Main PID: 28328 (code=exited, status=0/SUCCESS)
Jan 11 15:49:34 ogryzok2 systemd[1]: Started Rimworld Phi server.
Jan 11 15:49:35 ogryzok2 mono[28328]: Launching server for 0.0.0.0 on port 16180
Jan 11 15:49:35 ogryzok2 mono[28328]: 1/11/2017 3:49:35 PM|Fatal|WebSocketServer.receiveRequest|System.Threading.ThreadAbortException
Jan 11 15:49:35 ogryzok2 mono[28328]: at (wrapper managed-to-native) System.Net.Sockets.Socket:Accept_internal (intptr,int&,bool)
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.Socket.Accept_internal (System.Net.Sockets.SafeSocketHandle safeHandle, System.Int32& error, System.Boolean blocking) [0x0000c] in <5071a6e4a4564e19
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.Socket.Accept () [0x00008] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: at System.Net.Sockets.TcpListener.AcceptTcpClient () [0x00016] in <5071a6e4a4564e19a2eda0f53e42f9bd>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: at WebSocketSharp.Server.WebSocketServer.receiveRequest () [0x00012] in <38d3cef14c5a4fc9a92de0991034bc1a>:0
Jan 11 15:49:35 ogryzok2 mono[28328]: WARNING: The runtime version supported by this application is unavailable.
Jan 11 15:49:35 ogryzok2 mono[28328]: Using default runtime: v4.0.30319
Hello! I'm trying to setup your server as systemd service but got some trouble.
When I run it manually it works well
But if I run as service, I get this message:
Here's my service script:
Could you please tell me what am I doing wrong?
The text was updated successfully, but these errors were encountered: