71 Commits

Author SHA1 Message Date
Ben Peddell
5ca9446078 Add shellcheck 2022-08-10 01:07:58 +10:00
Niklas
f1861d93e0
small typo 2020-08-06 17:42:10 +02:00
Ben Peddell
6e9167dcc9 Make service installation optional 2020-03-21 07:50:42 +10:00
Ben Peddell
94a8b96e74 Create /etc/bash_completion.d if it doesn't exist
Fixes: 06929b92188343303ed5cea25ab762bdb8dd0163 adding bash_completion for servers
2020-02-27 16:17:27 +10:00
Ben Peddell
0b741f45dc Fix instance config template installation
The `arkServerRoot` was not being updated to the desired path in `instance.cfg.example`.  Fix this.
2017-02-16 10:07:02 +10:00
AnEmortalKid
06929b9218 adding bash_completion for servers 2017-01-03 23:10:45 -06:00
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
910a57ff8c Fix typo in install script
Fixes: 61446ab88c986da27694b14a3192aa53b37cd152 Add CONFIGFILE and
INSTANCEDIR variables in install.sh
2016-02-18 03:10:33 +10:00
Ben Peddell
a205b4c81e Make "main" instance default in new installs 2016-02-18 01:36:28 +10:00
Ben Peddell
fbd75687da Have systemd (and upstart) run the script as the user 2016-02-02 04:02:21 +10:00
Ben Peddell
92acb88fd5 Update systemd and upstart scripts with multi-instance support 2015-12-13 06:32:53 +10:00
Ben Peddell
3f1110bd0a Give steamcmd_user ownership of /etc/arkmanager 2015-12-13 06:32:53 +10:00
Ben Peddell
b2ae770b99 Add script to migrate main instance 2015-12-13 06:32:52 +10:00
Ben Peddell
61446ab88c Add CONFIGFILE and INSTANCEDIR variables in install.sh 2015-12-13 06:32:52 +10:00
Ben Peddell
15162c50fe Move instance-specific settings to instance.cfg.example 2015-12-13 06:32:52 +10:00
Ben Peddell
627220de57 Create instance config directory during install 2015-12-13 06:32:52 +10:00
Ben Peddell
80fd25a33d Move config file migration to separate install-time script 2015-12-13 06:32:52 +10:00
Ben Peddell
7112779ef8 Fix typo in Debian and Redhat systemd installs 2015-11-09 17:06:58 +10:00
Ben Peddell
252fa7ca0b Fix /var/log/arktools and arkmanager.cfg ownership 2015-11-04 00:06:21 +10:00
Ben Peddell
1165dc1509 Update installer for new systemd scripts 2015-10-12 06:15:54 +10:00
Fez Vrasta
9bc1f8e417 Merge pull request #224 from klightspeed/1.4-dev#upgradeconfig
Upgrade config file with new options on install
2015-10-08 19:19:16 +02:00
Ben Peddell
b3c79ee964 Upgrade config file with new options on install
Adds new options and removes deprecated options from
ARK Server Tools configuration file
2015-10-07 19:21:46 +10:00
Ben Peddell
e43e1e35cd Add multiple instance control for systemd 2015-10-06 17:16:28 +10:00
Ben Peddell
e6c83245e4 Fix typo in install script 2015-09-30 19:35:45 +10:00
Ben Peddell
fb61e00aee Put uninstaller script into libexec 2015-09-24 23:34:03 +10:00
Ben Peddell
72e0543b6f Use $steamcmd_user instead of $1 when altering new config 2015-09-24 07:35:04 +10:00
Ben Peddell
94eda243bf Fix install.sh
It was modifying arkmanager.cfg, when it should have been modifying
arkmanager.cfg.NEW
2015-09-24 07:28:29 +10:00
Ben Peddell
2a3a2cc1aa Add uninstall scripts 2015-09-18 19:41:43 +10:00
Ben Peddell
f8789764dc Add datadir and dataprefix arguments to install 2015-09-18 19:37:12 +10:00
Ben Peddell
283c04dd81 Add install_bindir and install_libexecdir to config 2015-09-18 19:34:07 +10:00
Ben Peddell
d40d9d9df3 Always write arkmanager.cfg.NEW 2015-09-18 19:25:30 +10:00
Ben Peddell
bfca58c39d Add libexecdir argument to install.sh 2015-09-18 19:22:38 +10:00
Ben Peddell
3977190e7a Use PREFIX for global install 2015-09-18 19:17:49 +10:00
Ben Peddell
b86967c30c Add bindir argument to install.sh 2015-09-18 19:16:09 +10:00
Ben Peddell
f597644d59 Improve install.sh usage message 2015-09-18 19:12:20 +10:00
Ben Peddell
563c34b3f2 Add prefix, exec-prefix and install-root arguments 2015-09-18 19:10:23 +10:00
Ben Peddell
37014ec86d Implement better argument handling in install.sh 2015-09-18 19:06:15 +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
f58645cc1a Support special "--me" user-install 2015-08-02 19:26:02 +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
090bf70b11 Includes a copy of the newest config file on installation 2015-06-27 11:56:37 +02:00
Ben Peddell
bcd25812d9 Fix EXECPREFIX modification in systemd install 2015-06-25 21:37:27 +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
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