Translations:Setting up a Multiplayer Server/73/fr: Difference between revisions

From Vintage Story Wiki
(Created page with "Utilisez votre logiciel de modification de fichier préféré pour créer un fichier de service (dans cet exemple nano). nano /usr/lib/systemd/system/vintagestoryserver.service Insérez le contenu suivant : [Unit] Description=Unite Serveur Vintage Story After=network.target [Service] WorkingDirectory=/srv/gameserver/vintagestory ExecStart=/usr/bin/mono VintagestoryServer.exe --dataPath /srv/gameserver/data/vs Restart=always RestartSec=30 StandardOu...")
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
   [Service]
   [Service]
   WorkingDirectory=/srv/gameserver/vintagestory
   WorkingDirectory=/srv/gameserver/vintagestory
   ExecStart=/usr/bin/mono VintagestoryServer.exe --dataPath /srv/gameserver/data/vs
   ExecStart=dotnet VintagestoryServer.dll --dataPath /srv/gameserver/data/vs
   Restart=always
   Restart=always
   RestartSec=30
   RestartSec=30

Latest revision as of 14:13, 21 November 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Setting up a Multiplayer Server)
Use your favourite tool to create a service unit file (this example uses nano)
  nano /usr/lib/systemd/system/vintagestoryserver.service
Insert the following content
  [Unit]
  Description=Vintage Story Server Unit
  After=network.target
  
  [Service]
  WorkingDirectory=/srv/gameserver/vintagestory
  ExecStart=dotnet VintagestoryServer.dll --dataPath /srv/gameserver/data/vs
  Restart=always
  RestartSec=30
  StandardOutput=syslog
  StandardError=syslog
  SyslogIdentifier=VSSRV
  User=gameserver
  Group=gameserver
  
  [Install]
  WantedBy=multi-user.target

Utilisez votre logiciel de modification de fichier préféré pour créer un fichier de service (dans cet exemple nano).

 nano /usr/lib/systemd/system/vintagestoryserver.service

Insérez le contenu suivant :

 [Unit]
 Description=Unite Serveur Vintage Story
 After=network.target
 
 [Service]
 WorkingDirectory=/srv/gameserver/vintagestory
 ExecStart=dotnet VintagestoryServer.dll --dataPath /srv/gameserver/data/vs
 Restart=always
 RestartSec=30
 StandardOutput=syslog
 StandardError=syslog
 SyslogIdentifier=VSSRV
 User=gameserver
 Group=gameserver
 
 [Install]
 WantedBy=multi-user.target