125 Commits

Author SHA1 Message Date
Fez Vrasta
d7004922dd Revert "Waiting for world save before update." 2015-06-27 18:10:44 +02:00
Fez Vrasta
23b6dc5e3c Merge pull request #74 from Rodzynus/master
Waiting for world save before update.
2015-06-27 18:10:38 +02:00
Fez Vrasta
7f83e77c2a Merge pull request #71 from Atriusftw/master
Includes a copy of the newest config file on installation
2015-06-27 13:02:29 +02:00
Rodzyn
fff32d0cc8 Added safeupdate description to README and help command. 2015-06-27 12:44:43 +02:00
Rodzyn
4c34eaff18 Added a function waiting for world save before performing an update. 2015-06-27 12:35:04 +02:00
Marius Linge
090bf70b11 Includes a copy of the newest config file on installation 2015-06-27 11:56:37 +02:00
Ben Peddell
3462be3066 Use getCurrentVersion after update 2015-06-27 19:55:04 +10:00
Marius Linge
ba3a6fff77 Corrects path to appinfo 2015-06-26 16:47:14 +02:00
FezVrasta
c72ed7b482 fixed wrong merge 2015-06-26 16:17:38 +02:00
FezVrasta
e288448de7 moved message to function 2015-06-26 15:39:50 +02:00
FezVrasta
2d8fde09f4 fixed comment 2015-06-26 15:38:53 +02:00
FezVrasta
410ee769bf added @klightspeed as contributor 2015-06-26 15:37:22 +02:00
FezVrasta
24863a5be6 typo 2015-06-26 15:22:40 +02:00
FezVrasta
42ce0a99ac clear cache before fetching the available version 2015-06-26 15:22:19 +02:00
Ben Peddell
6fb7f6a4e6 Add app_info_update 2015-06-26 18:43:58 +10:00
Ben Peddell
721491975b Get current version from appmanifest_${appid}.acf
forceUpdate had a window of time between initiating the
update and getting the current version where it could
miss an update.  Close that window by getting the installed
version from the appmanifest file.
2015-06-26 18:43:49 +10:00
FezVrasta
2e12cdedeb fixed forceUpdate function 2015-06-25 17:29:53 +02:00
Ben Peddell
bcd25812d9 Fix EXECPREFIX modification in systemd install 2015-06-25 21:37:27 +10:00
Ben Peddell
2b16b5e707 Add pidfile support 2015-06-25 21:35:42 +10:00
Ben Peddell
89d7b9889c Use INSTALL_ROOT and EXECPREFIX for systemd 2015-06-25 21:24:32 +10:00
Ben Peddell
9ca3d5f3c5 Add distro-agnostic systemd init script 2015-06-25 21:21:55 +10:00
Ben Peddell
9bfdc8ccba Add RedHat systemd unit 2015-06-25 21:21:48 +10:00
Ben Peddell
b2d5554cf4 Rename arkdaemon.service to arkmanager.service 2015-06-25 21:04:10 +10:00
Ben Peddell
f196df51c6 Copy Debian init script to /usr/libexec/arkmanager 2015-06-25 21:04:06 +10:00
FezVrasta
ebb1ccb2c8 improved output of rhel daemon 2015-06-25 11:58:53 +02:00
Ben Peddell
7e9e1b05ae Modify config user to match install user 2015-06-25 10:19:38 +10:00
Ben Peddell
0676552a48 Fix typo in init script modification 2015-06-25 10:19:31 +10:00
Ben Peddell
b0936f2f13 Parse steamcmd output and extract buildid
buildid for public branch is under
depots.branches.public.buildid

The output from app_info_print is a line-oriented
json-like structure which is easily parsed by bash.
2015-06-25 10:19:20 +10:00
Sispheor
c860735e0c fix issue #31 and add forceupdate function 2015-06-24 21:33:13 +02:00
Sispheor
13913709d4 add systemd unit file and update install to use it 2015-06-24 20:28:38 +02:00
FezVrasta
12322876f0 added Contributors line instead of putting them together with maintainers 2015-06-24 18:08:59 +02:00
FezVrasta
8e2d92f767 log output of ShooterGameServer and moved arkmanager logs to arkmanager.log 2015-06-24 18:08:59 +02:00
FezVrasta
6b531dea7e improved start and stop messages 2015-06-24 17:36:27 +02:00
FezVrasta
b9b157c7e5 fixed output spaces 2015-06-24 12:13:41 +02:00
FezVrasta
362fa3a3c5 standardize server options, now they work all in the same way 2015-06-24 12:01:37 +02:00
FezVrasta
2366c21fd5 improved output of update command 2015-06-23 23:51:59 +02:00
FezVrasta
69e6c8e421 revert printf escape 2015-06-23 23:42:54 +02:00
FezVrasta
911ec781b7 improved outputs 2015-06-23 23:38:06 +02:00
FezVrasta
f9c97a2bd2 improved help messages 2015-06-23 23:26:32 +02:00
FezVrasta
b94be72858 fixed format of checkupdate output 2015-06-23 23:00:38 +02:00
FezVrasta
8582efc4be improved checkupdates output 2015-06-23 18:35:38 +02:00
Ben Peddell
a891e71e75 Add OpenRC init script 2015-06-23 23:53:19 +10:00
Ben Peddell
d44b9e9f67 Add RedHat SysV init script 2015-06-23 23:53:19 +10:00
Ben Peddell
607a3096be Modify DAEMON variable according to EXECPREFIX 2015-06-23 23:52:53 +10:00
Ben Peddell
7ce3118322 Move LSB init script to separate directory 2015-06-23 23:41:46 +10:00
FezVrasta
e318cf6ea9 added checkupdate to hint message 2015-06-23 15:08:16 +02:00
FezVrasta
d7da82e47b escape sessionname special chars 2015-06-23 13:47:36 +02:00
FezVrasta
8d9bbadf5b arkdaemon renamed to arkmanager, so it follows the convention of daemons with same name of their main script 2015-06-23 11:40:55 +02:00
FezVrasta
49103bd32c rename function to make it clearer 2015-06-23 11:36:19 +02:00
FezVrasta
92c162543d Merge branch 'klightspeed#dev#1.1' into dev#1.1
# Conflicts:
#	tools/arkmanager
2015-06-23 11:29:57 +02:00