Talk:Guides/Don’t Starve Together Dedicated Servers/@comment-92.132.131.50-20150317175102/@comment-92.132.131.50-20150317211659

For the one that are not using systemd (there are still a few ;-) ), you can use supervisor (http://supervisord.org/) to manage your server. This is achieved with the following line in /etc/supervisor/conf.d/dst-server.conf.

--

[program:dst-server] user=steam directory=/home/steam/steamapps/DST/bin/ environment=LD_LIBRARY_PATH="/home/steam/dst_lib",HOME="/home/steam" command=/home/steam/steamapps/DST/bin/dontstarve_dedicated_server_nullrenderer autostart=true autorestart=true

--

It works like a charm !