475 Commits

Author SHA1 Message Date
Ben Peddell
23757124c9 Change config migration
Write new example global config to `arkmanager.cfg.example`
Write migrated global config to `arkmanager.cfg.NEW`
Write migrated main instance config to `instances/main.cfg.NEW`
2016-07-11 15:13:19 +10:00
Ben Peddell
7f8aa05e80 Add printconfig command
This new command will print the file that each config option
is taken from.
2016-07-11 15:12:37 +10:00
Ben Peddell
6d207952b5 Fix arkAlwaysRestartOnCrash 2016-07-11 10:03:44 +10:00
Ben Peddell
b22b16b41d Create the saved arks directory if it doesn't exist 2016-07-10 23:42:51 +10:00
Ben Peddell
12198f8f3c Add RemainAfterExit=yes to arkmanager.service 2016-07-09 16:34:43 +10:00
Ben Peddell
794171e7e4 Add option to always auto-restart 2016-07-09 15:53:10 +10:00
Ben Peddell
55f9a80ddd Change systemd service type to forking 2016-07-09 14:26:43 +10:00
Ben Peddell
4c8d9d53da Add -automanagedmods support to update 2016-07-08 09:43:26 +10:00
Ben Peddell
3fe29777e6 Add support for -automanagedmods 2016-07-08 09:29:55 +10:00
Ben Peddell
e1b2cdb8c8 Add option to allow players to cancel restart 2016-07-01 23:11:28 +10:00
Ben Peddell
c7053d8a93 Fix --stagingdir= parameter 2016-06-28 19:58:26 +10:00
Ben Peddell
8aad9cd42e Don't print the warning message twice 2016-06-27 19:16:57 +10:00
Ben Peddell
6e1627c801 Fix update --force with arkStagingDir 2016-06-12 15:12:18 +10:00
Ben Peddell
29ffa2f3a3 Make arkmanager script sourceable 2016-06-11 01:58:35 +10:00
Ben Peddell
91776b27a1 Clean up after SteamCMD if it returns successful 2016-06-09 03:06:04 +10:00
Ben Peddell
eb99bb7391 Add --no-download option to update 2016-06-06 07:54:47 +10:00
Ben Peddell
cb22f09df2 Fix mod download not being retried 2016-05-31 18:46:37 +10:00
Ben Peddell
e8de3826c9 Avoid "no command" message if remove-mods is only command 2016-05-30 20:29:15 +10:00
Ben Peddell
06e1c19044 remove-mods removes mods from workshop directory 2016-05-30 20:11:51 +10:00
Ben Peddell
cbe5e2ea50 Fix Blob SHA breakage 2016-05-30 18:52:38 +10:00
Ben Peddell
6b9245cb63 Fix spinner 2016-05-30 18:35:37 +10:00
Ben Peddell
2b160082aa Fix permission denied error when updating mods 2016-05-30 18:10:01 +10:00
Ben Peddell
6ae8a44299 Fix error in runSteamCMDspinnerSubst 2016-05-30 12:54:59 +10:00
Ben Peddell
ca3ff1e5f6 Fix restart --warn broadcasting shutdown message 2016-05-30 02:38:19 +10:00
Ben Peddell
e2c3fa3c68 Fix warning in runSteamCMDspinner 2016-05-30 02:31:04 +10:00
Ben Peddell
0be8a67ba0 Actually cancel warning when Ctrl-C etc are pressed 2016-05-30 02:25:11 +10:00
Ben Peddell
957a5689dc Fix an error in doWarn that was causing duplicate warnings 2016-05-28 20:41:25 +10:00
Ben Peddell
ea6de39917 " \n " added to empty response message
Server response when a command returns no response is
"Server received, But no response!! \n "
2016-05-28 20:19:06 +10:00
Ben Peddell
5f317c8d57 Allow {time} in warning reason 2016-05-28 13:25:01 +10:00
Ben Peddell
6b22944fe6 Print SteamCMD command being executed 2016-05-21 19:26:04 +10:00
Ben Peddell
41097175fa Add cancelshutdown command 2016-05-19 19:09:18 +10:00
Ben Peddell
e05ec78ac8 Change to the home directory
This should prevent errors when running from an inaccessible
directory
2016-05-17 09:56:33 +10:00
Ben Peddell
c8f6cee90b Fix typo in doBackup 2016-05-17 09:52:48 +10:00
Ben Peddell
bc40544bf8 Fix an inconsistency between install.sh and arkmanager.init 2016-05-17 08:11:40 +10:00
Ben Peddell
8c57170e4d Remove now unnecessary ulimit setup 2016-05-17 07:12:33 +10:00
Ben Peddell
eaefdfaaa6 Move .modbranch to __arkmanager_modbranch__.info 2016-05-16 17:55:50 +10:00
Ben Peddell
2b83abf65c Allow stop and restart commands to take a reason 2016-05-16 17:39:49 +10:00
Ben Peddell
053a938f56 Improve broadcast warning messages 2016-05-16 17:38:37 +10:00
Ben Peddell
e9b2c9b21f Parse output of download_workshop_item command 2016-05-16 17:38:08 +10:00
Ben Peddell
103c3abcf9 Account for all lower-case names in some environments 2016-05-16 17:32:32 +10:00
Ben Peddell
912c4dc824 Handle multiple map files in mods 2016-05-08 23:27:51 +10:00
Ben Peddell
3eca9d3446 Fix numPlayersConnected to use getQueryPort 2016-03-09 20:03:31 +10:00
Ben Peddell
63ded49b30 Fix a couple of potential issues with player count checking 2016-03-09 19:32:01 +10:00
Ben Peddell
fd26375770 Return -1 from numplayers if server unreachable 2016-03-09 19:27:41 +10:00
Ben Peddell
1729c16df0 Use serverMapModId to set map name and MapModID option 2016-03-09 19:27:13 +10:00
Ben Peddell
326bb5560b Process ark options in config file order 2016-03-09 19:26:27 +10:00
Ben Peddell
eb72148b35 Add support for adding and removing cron jobs 2016-03-09 19:25:59 +10:00
Ben Peddell
4eeeebeb8e Add handling for global options 2016-03-09 19:25:59 +10:00
Ben Peddell
7c0abf2dfb Add Blob SHA to --version output
This should make it possible to determine the arkmanager
version when it hasn't been installed using the netinstall
script.
2016-03-09 19:24:37 +10:00
Ben Peddell
e81f1905cd Use name from mod.info if mod name can't be retrieved 2016-03-09 19:24:05 +10:00