diff --git a/README.md b/README.md index dc41101..5204578 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ curl -s https://raw.githubusercontent.com/FezVrasta/ark-server-tools/master/neti NB: You may want to change the `bash -s` parameter to fit your steam user if different from `steam`. -This will copy the `arkmanager` and the `arkdaemon` to the proper directories and will create an empty log directory in `/var/log` for ARK Server Tools. +This will copy the `arkmanager` script and its daemon to the proper directories and will create an empty log directory in `/var/log` for ARK Server Tools. ## Configure ARK Server diff --git a/tools/install.sh b/tools/install.sh index 47c1c73..5450eb6 100644 --- a/tools/install.sh +++ b/tools/install.sh @@ -7,14 +7,14 @@ if [ ! -z "$1" ]; then cp arkmanager "${INSTALL_ROOT}${EXECPREFIX}/bin/arkmanager" chmod +x "${INSTALL_ROOT}${EXECPREFIX}/bin/arkmanager" - # Copy arkdaemon to /etc/init.d ,set permissions and add it to boot - cp arkdaemon "${INSTALL_ROOT}/etc/init.d/arkdaemon" - chmod +x "${INSTALL_ROOT}/etc/init.d/arkdaemon" + # Copy arkdaemon to /etc/init.d/arkmanager ,set permissions and add it to boot + cp arkdaemon "${INSTALL_ROOT}/etc/init.d/arkmanager" + chmod +x "${INSTALL_ROOT}/etc/init.d/arkmanager" # add to startup if the system use sysinit if [ -x /usr/sbin/update-rc.d -a -z "${INSTALL_ROOT}" ]; then - update-rc.d arkdaemon defaults + update-rc.d arkmanager defaults echo "Ark server will now start on boot, if you want to remove this feature run the following line" - echo "update-rc.d -f arkdaemon remove" + echo "update-rc.d -f arkmanager remove" fi # Create a folder in /var/log to let Ark tools write its own log files