214 Commits

Author SHA1 Message Date
Lihis
45c887f090 Set TERM to "dumb" if TERM is not set
Set environment variable TERM to "dumb" if it is not set. This suppresses errors from "tput", which are shown in eg. "systemctl status arkmanager.service". The error which tput gives without TERM set is "tput: No value for $TERM and no -T specified".
2015-10-19 16:11:30 +03:00
Ben Peddell
b977dc21bd Allow empty options
The config option e.g. ark_bRawSockets="" should result in the
...?bRawSockets
2015-09-21 04:45:33 +10:00
Ben Peddell
5c69404551 Fix "infinite" update warn 2015-09-19 17:53:29 +10:00
Ben Peddell
38d9b4e977 Save world before update
Not using isTheServerUp, as doSaveWorld should return immediately
if the server is not up.
2015-09-18 23:56:30 +10:00
Ben Peddell
8568498a17 Fix issue with user-install in install.sh
Install script was putting "me" instead of "--me" into config file
2015-09-18 12:24:10 +10:00
Ben Peddell
71e1fad790 Fix issues with user-install
* Ignore the steamcmd_user when validating the environment
* Add a -- separator when installing, so that --me is interpreted as
  an argument to the script rather than an argument to bash
2015-09-14 16:09:45 +10:00
Ben Peddell
6b0c08ab09 Add option to warn players before update 2015-09-14 05:45:01 +10:00
Ben Peddell
74b665cdfd Add hotfix update support 2015-09-02 16:55:10 +10:00
Ben Peddell
10a49b7baf Inject git commit into arkmanager script 2015-09-02 16:53:41 +10:00
Ben Peddell
3e0fa90c70 Move arkstVersion to script 2015-09-02 16:26:32 +10:00
Fez Vrasta
c756e4e2ed Merge pull request #151 from FezVrasta/1.3-dev
1.3 dev
2015-09-01 10:43:04 +02:00
Ben Peddell
0aa7546b06 Add '-MapModId' support
Specifying the Modded Map by ModID was added in 193.0
This adds support for this, and backups should work with it.
2015-08-07 21:23:15 +10:00
Ben Peddell
2e8e3b6aaa Fix map name extraction
Fixes: f6d402b (Add support for custom modded maps)
2015-08-07 21:22:15 +10:00
Ben Peddell
be21a03dda Fix typo in doUpgrade
Fixes: 201c887 (added upgrade command, added support for release channels)
2015-08-07 21:09:48 +10:00
Ben Peddell
562bb93126 Add useconfig arkmanager command to specify config 2015-08-02 19:26:30 +10:00
Ben Peddell
2e65228607 Inform the user which command was not recognized 2015-08-02 19:26:30 +10:00
Ben Peddell
b52770f236 Support multiple commands in a single invocation 2015-08-02 19:26:30 +10:00
Ben Peddell
f58645cc1a Support special "--me" user-install 2015-08-02 19:26:02 +10:00
Ben Peddell
f2ff580a90 Reduce restart delay to 1 second 2015-07-26 14:55:27 +10:00
Ben Peddell
ac41f14700 Wait for server to stop 2015-07-26 14:55:27 +10:00
Ben Peddell
3759904f12 Change isTheServerRunning to be consistent with doStop 2015-07-26 14:55:27 +10:00
Ben Peddell
2110bc7fa6 User SIGINT instead of SIGKILL to stop server 2015-07-26 14:55:27 +10:00
Marius Linge
93d9883ced Merge pull request #119 from Sispheor/1.3-dev
update readme.
2015-07-18 14:56:42 +02:00
Ben Peddell
f6d402b6fe Add support for custom modded maps 2015-07-18 10:28:22 +10:00
Ben Peddell
a14f410fc9 Add last-ditch backup attempt 2015-07-18 08:33:19 +10:00
Ben Peddell
44fa13cdc6 Make backup function more robust 2015-07-18 05:33:39 +10:00
Lihis
3b3be70ee5 Fix: typo in usage
There should be space between arkmanager and [OPTION].
2015-07-17 13:40:58 +03:00
Sispheor
9e23213b2d remove unused variables 2015-07-16 22:20:52 +02:00
Fez Vrasta
3ca424f63b Merge pull request #116 from FezVrasta/master
Merge hotfixes from master into 1.3-dev
2015-07-15 00:10:44 +02:00
Fez Vrasta
88d38ba8c3 Merge pull request #114 from StuartWhelan/preserve_timestamp_on_copy
Preserve timestamps when copying the server files during backup
2015-07-13 11:47:17 +02:00
Stuart Whelan
ecffdc6293 Preserve timestamps when copying the server files during backup 2015-07-13 12:19:43 +12:00
Ben Peddell
61068b203e Add rconcmd arkmanager command 2015-07-11 22:04:16 +10:00
Ben Peddell
accc3d4612 Hide response to broadcast command
Server responds with:
  Server received, But no response!!
2015-07-11 22:04:16 +10:00
Ben Peddell
120df3d0db Add server info to status output 2015-07-11 22:04:16 +10:00
Ben Peddell
d34f2ac336 Add simple RCON client implementation 2015-07-11 22:04:02 +10:00
Stuart Whelan
b4a4ecbfd4 Moved check for being able to write to the arkserverroot parent directory to the install function 2015-07-11 18:18:04 +12:00
FezVrasta
fe158508fa fixed typo 2015-07-10 14:55:58 +02:00
FezVrasta
50d8633fed fixed typo 2015-07-10 13:40:13 +02:00
FezVrasta
4a1ac5af59 fixed safeupdate
fixes #104
2015-07-10 13:39:12 +02:00
Marius Linge
39e2c7b8d2 Adds RCON specific arguments to support the RCON Protocol 2015-07-09 18:31:30 +02:00
FezVrasta
6ca7625d50 fixed two typos 2015-07-09 13:49:54 +02:00
FezVrasta
d192a1fe64 forceupdate replaced by update --force and added documentation about the new backup command 2015-07-08 15:05:56 +02:00
Ben Peddell
c8f8ae87f6 Add ark backup feature 2015-07-08 22:26:13 +10:00
Ben Peddell
4761f14fd1 Merge branch 'master' into 1.2-dev 2015-07-06 18:55:59 +10:00
Ben Peddell
f7ccbfe2f3 Discover path of lsof 2015-07-05 22:19:32 +10:00
Ben Peddell
9313d72a09 Add notes on environment variables affecting install 2015-07-05 22:19:32 +10:00
Ben Peddell
db2af43bab Modify DAEMON variable in systemd init script 2015-07-02 18:19:59 +10:00
Marius Linge
d45614ff79 Merge pull request #83 from klightspeed/master
Change to the ark server root directory
2015-06-28 20:12:47 +02:00
Ben Peddell
4d30f2683d Change to the ark server root directory 2015-06-29 02:14:59 +10:00
Marius Linge
a657c311e2 Email is unsupported, shouldn't be in config. Fixes bug with vanishing items. 2015-06-28 17:58:54 +02:00