arkdaemon renamed to arkmanager, so it follows the convention of daemons with same name of their main script

This commit is contained in:
FezVrasta 2015-06-23 11:40:55 +02:00
parent 49103bd32c
commit 8d9bbadf5b
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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