151 Commits

Author SHA1 Message Date
Fez Vrasta
dcbea1dfd6 fixed statement 2015-06-27 20:26:15 +02:00
Fez Vrasta
ee753f4897 Merge pull request #78 from Rodzynus/master
Waiting for world save before update.
2015-06-27 20:25:03 +02:00
FezVrasta
23378625bb added check config function 2015-06-27 14:43:34 +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
a34ab5ca3c Corrects path to appinfo 2015-06-27 20:34:00 +10:00
FezVrasta
74023f208a fixed wrong merge 2015-06-27 20:34:00 +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
2e8e7d99c7 moved message to function 2015-06-26 15:42:54 +02:00
FezVrasta
2e65a98204 fixed comment 2015-06-26 15:42:54 +02:00
FezVrasta
d192bd32d7 added @klightspeed as contributor 2015-06-26 15:42:54 +02:00
FezVrasta
4983bc329c typo 2015-06-26 15:42:54 +02:00
FezVrasta
2134f022eb clear cache before fetching the available version 2015-06-26 15:42:53 +02:00
Ben Peddell
1bc75d61d1 Add app_info_update 2015-06-26 15:42:53 +02:00
Ben Peddell
95510e0fa0 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 15:42:53 +02:00
FezVrasta
ad9a1a4587 fixed forceUpdate function 2015-06-26 15:42:53 +02:00
Ben Peddell
abd1e3ab31 Fix EXECPREFIX modification in systemd install 2015-06-26 15:42:53 +02:00
Ben Peddell
a460fdffce Add pidfile support 2015-06-26 15:42:53 +02:00
Ben Peddell
70ab07a071 Use INSTALL_ROOT and EXECPREFIX for systemd 2015-06-26 15:42:53 +02:00
Ben Peddell
6515681638 Add distro-agnostic systemd init script 2015-06-26 15:42:53 +02:00
Ben Peddell
d73078115c Add RedHat systemd unit 2015-06-26 15:42:53 +02:00
Ben Peddell
180c51569e Rename arkdaemon.service to arkmanager.service 2015-06-26 15:42:53 +02:00
Ben Peddell
ae5de315e9 Copy Debian init script to /usr/libexec/arkmanager 2015-06-26 15:42:53 +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
FezVrasta
10a6b21312 use ulimit -n instead of change the limits globally 2015-06-25 15:37:36 +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
FezVrasta
0066063c2d fixed doUpgrade 2015-06-25 13:19:26 +02: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
201c8879d6 added upgrade command, added support for release channels 2015-06-25 12:56:27 +02:00
FezVrasta
2652f5f752 improved output of rhel daemon 2015-06-25 12:56:27 +02:00
Ben Peddell
f25c6af27f Modify config user to match install user 2015-06-25 12:56:27 +02:00
Ben Peddell
80fd038094 Fix typo in init script modification 2015-06-25 12:56:27 +02:00
Ben Peddell
ec83d37a56 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 12:56:27 +02:00
Sispheor
e26a49a825 fix issue #31 and add forceupdate function 2015-06-25 12:56:27 +02:00
Sispheor
446147982f add systemd unit file and update install to use it 2015-06-25 12:56:27 +02:00
FezVrasta
9c633d045a added Contributors line instead of putting them together with maintainers 2015-06-25 12:56:27 +02:00
FezVrasta
ebb1ccb2c8 improved output of rhel daemon 2015-06-25 11:58:53 +02:00