aboutsummarylogtreecommitdiffstats
path: root/dom4-server.install
diff options
context:
space:
mode:
Diffstat (limited to 'dom4-server.install')
-rw-r--r--dom4-server.install17
1 files changed, 7 insertions, 10 deletions
diff --git a/dom4-server.install b/dom4-server.install
index 90156c3870fc..2c445fdfe4cf 100644
--- a/dom4-server.install
+++ b/dom4-server.install
@@ -13,26 +13,23 @@ post_upgrade() {
systemd-tmpfiles --create dom4.conf
fi
+ mkdir -p /opt/dom4
+
chown dom4:dom4 /usr/bin/dom4-server
chown -R dom4:dom4 /usr/share/dom4
+ chown -R dom4:dom4 /opt/dom4
cat <<EOF
Post-install tasks:
-Ensure Dominions 4 is installed to /opt/Dominions4. If you installed it from the Steam GUI with the default library path, use:
-
- sudo cp -R ~/.local/share/Steam/steamapps/common/Dominions4 /opt
-
-If you installed it via SteamCMD (see README.md in the Git repository for instructions on doing that if you're starting from scratch):
-
- sudo cp -R ~/Steam/steamapps/common/Dominions4 /opt
+Install Dominions 4 for the server user using SteamCMD:
-If you can't find it at either of those locations, try 'locate dom4.sh' (if you *just* installed Dominions 4, 'sudo updatedb' first). This should output one line with the full path and filename of 'dom4.sh'. 'sudo cp -R' the path, excluding the filename.
+ dom4 install
-Your install directory must have a 'dom4key' file present containing your Dominions 4 license key. If the file does not already exist, you can create it using the license information from Steam.
+You will need your login information and a valid Dominions 4 CD key. SteamCMD may ask you to validate via Steam Guard.
-To begin setting up hosting, run 'dom4'.
+To begin setting up hosting, run 'dom4' without arguments for more information.
EOF
}