Talk:Guides/Don’t Starve Together Dedicated Servers/@comment-109.190.73.175-20150202004355

Hi,

Thanks for the tutorial ; please find following a sample of systemd settings. This has to be added in /usr/lib/systemd/system/dontstarve.service

[Unit] Description=Don't Starve service Wants=network.target [Service] User=steam WorkingDirectory=/home/steam/steamapps/DST/bin ExecStart=/home/steam/steamapps/DST/bin/dontstarve_dedicated_server_nullrenderer PIDFile=/home/steam/dstserver.pid [Install] WantedBy=multi-user.target

Here are the commands to use it : systemctl start dontstarve systemctl stop dontstarve chkconfig dontstarve on
 * 1) Start the service
 * 1) Stop the service
 * 1) Add service on startup

Enjoy :3