115 Commits

Author SHA1 Message Date
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
FezVrasta
f13091a674 support paths with spaces 2015-06-23 11:22:32 +02:00
FezVrasta
b3aa2a5722 Revert commit 23706cae6ae6242060fa5c124eba5c00f7db6ea2 2015-06-23 10:47:37 +02:00
Ben Peddell
c45757c6e0 Merge remote-tracking branch 'origin/dev#1.1' into dev#1.1 2015-06-23 14:49:29 +10:00
Ben Peddell
e15becbc30 Add server port to server variables 2015-06-23 14:48:12 +10:00
Ben Peddell
78944b04f8 Add custom server variables 2015-06-23 14:48:04 +10:00
Ben Peddell
b1c0d28f6a Import user config 2015-06-23 14:47:57 +10:00
Ben Peddell
dd61066cc4 Quote paths to handle paths with spaces 2015-06-23 14:47:49 +10:00
Ben Peddell
23ebcaacd4 Use EXECPREFIX and INSTALL_ROOT when installing 2015-06-23 14:47:39 +10:00
Sispheor
7b80d8b89c fix install 2015-06-22 21:44:12 +02:00
Sispheor
8811b6e096 Merge remote-tracking branch 'upstream/master' into dev#1.1
Conflicts:
	tools/install.sh
2015-06-22 20:03:07 +02:00