Jump to content
Sign in to follow this  
GDent

Linux server mods won't start when in a subfolder

Recommended Posts

The topic title basically says it. I had a very simple startup script for starting the server on Linux with mods, but as soon as I tried tidying up and moving them into a subfolder, the mods won't start with the server anymore. The server just starts vanilla.

Here is my startup script. The mods are in ./mods, where the arma server folder is ~/steamcmd/arma3

 ./arma3server -name=server -profile=server -config=server.cfg -mod=./mods/@cba_a3\;./mods/@agm\;./mods/@alive\;./mods/@acre2\;./mods/@allinarmaterrainpack\;./mods/@arp2\;./mods/@asdg_jr\;./mods/@c17a3\;./mods/@caf_ag\;./mods/@caf_ag_audiopatch\;./mods/@drongosartillery\;./mods/@fa18_a3\;./mods/@fhq_accessories\;./mods/@hafm_hmmwv_a3\;./mods/@hiddenidentitypack\;./mods/@js_jc_su35\;./mods/@mcc_sandbox_a3\;./mods/@nato_russian_sf_weapons\;./mods/@r3f_armes\;./mods/@rav_lifter_a3\;./mods/@rh_m4_a3\;./mods/@rq-11_raven_ab_a3\;./mods/@us_helos_kimi

Any ideas on why it won't work? I tried removing the . in ./mods, as well as the /, nothing seems to do it. I don't want to have the mods in the root folder if possible.

Thank you.

Share this post


Link to post
Share on other sites

#!/bin/bash

# Wrapper file to start the A3 server

# Network settings used in -cfg param

networkConfig="network.cfg"

# Server configuration settings used in -config param

serverConfig="server.cfg"

# Server profile and difficulty settings used in -name param

profileName="server.arma3profile"

# Server-side mods

mods="@cba_a3"

# Stop old server

./stop

# Start server

echo "Starting server..."

nohup ./arma3server -cfg="/$networkConfig" -config="$serverConfig" -name="$profileName" -mod="$mods" -maxmem=2047 -cpuCount=2 -exThreads=7 -noSound > arma3.log 2>&1& echo $! > .pid

I never saw a start file like yours, not saying its wrong but (it looks weird) you can try mine works flawless

---------- Post added at 10:08 PM ---------- Previous post was at 10:03 PM ----------

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×