Sign in to follow this  
Followers 0
ZZK-Gaming

Search for a Debian 7 (Exile Restart Script)

11 posts in this topic

Hello, i search a Debian 7 easy restart script for my Exile Chernarus Server. My server will shutdown with InfiSTAR but after this he not start^^ can anyone share me your restart script? :/ ...have a nice day guys

Edited by ZZK-Gaming

Share this post


Link to post
Share on other sites
Advertisement

This is script not an app. Basically edit it and save. Give chmod+x and run with ./filename run|restart|stop

Share this post


Link to post
Share on other sites

If you're using Upstart, add the file /etc/init/exile.conf with the following contents:

description "ArmA 3 Exile"
author      "Jaegerhaus"

start on filesystem or runlevel [2345]
stop on shutdown
respawn
nice -19
kill signal SIGINT
kill timeout 60
chdir /opt/arma/arma3

exec ./arma3server -filePatching -autoInit -loadMissionToMemory -cfg=basic.cfg -config=exile-esseker.cfg -profiles=/opt/arma/arma3/profiles -servermod='@exileserver;@infistar_exile;@asr_ai3;@a3xai;@a3_dms' -mod='@exile;@esseker;@ryanzombies;@cba_a3;@cup_units;@cup_weapons;@cup_vehicles;@cup_terrains_core;@tryk;@hlc_core;@hlc_ak;@hlc_ar;@hlc_mp5;@hlc_fal;@hlc_springfield;@jonzie;@the_birds_and_the_bees'

Then you can run start, stop, and restart, like so:

arma@arma:~# restart exile

Or even add a line to your crontab (with crontab -e):

0 2,6,10,14,18,22 * * * /sbin/restart exile

Hope that helps!

1 person likes this

Share this post


Link to post
Share on other sites
On 14.3.2016 at 2:57 AM, Jaeger said:

If you're using Upstart, add the file /etc/init/exile.conf with the following contents:


description "ArmA 3 Exile"
author      "Jaegerhaus"

start on filesystem or runlevel [2345]
stop on shutdown
respawn
nice -19
kill signal SIGINT
kill timeout 60
chdir /opt/arma/arma3

exec ./arma3server -filePatching -autoInit -loadMissionToMemory -cfg=basic.cfg -config=exile-esseker.cfg -profiles=/opt/arma/arma3/profiles -servermod='@exileserver;@infistar_exile;@asr_ai3;@a3xai;@a3_dms' -mod='@exile;@esseker;@ryanzombies;@cba_a3;@cup_units;@cup_weapons;@cup_vehicles;@cup_terrains_core;@tryk;@hlc_core;@hlc_ak;@hlc_ar;@hlc_mp5;@hlc_fal;@hlc_springfield;@jonzie;@the_birds_and_the_bees'

Then you can run start, stop, and restart, like so:


arma@arma:~# restart exile

Or even add a line to your crontab (with crontab -e):


0 2,6,10,14,18,22 * * * /sbin/restart exile

Hope that helps!

My Server goes offline with inifSTAR Shutdown System, and he startet with  crontab...but my scipt is shity is you script a simple start script after the shutdown?

Share this post


Link to post
Share on other sites
5 hours ago, ZZK-Gaming said:

My Server goes offline with inifSTAR Shutdown System, and he startet with  crontab...but my scipt is shity is you script a simple start script after the shutdown?

I also have Infistar shutdown enabled. crontab just ensures the scheduled restarts happen (always at 2, 6, and 10).

I have no start script, per se, just the exile.conf file that defines my start/stop behaviour for Upstart, which handles the rest using the start, stop, restart commands.

Share this post


Link to post
Share on other sites
4 hours ago, Jaeger said:

I also have Infistar shutdown enabled. crontab just ensures the scheduled restarts happen (always at 2, 6, and 10).

I have no start script, per se, just the exile.conf file that defines my start/stop behaviour for Upstart, which handles the rest using the start, stop, restart commands.

you are from Germany? ^^

Share this post


Link to post
Share on other sites
19 hours ago, ZZK-Gaming said:

you are from Germany? ^^

Nein ;)

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.