mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-25 15:58:27 +00:00
arkdaemon renamed to arkmanager, so it follows the convention of daemons with same name of their main script
This commit is contained in:
parent
49103bd32c
commit
8d9bbadf5b
@ -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`.
|
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
|
## Configure ARK Server
|
||||||
|
|
||||||
|
|||||||
@ -7,14 +7,14 @@ if [ ! -z "$1" ]; then
|
|||||||
cp arkmanager "${INSTALL_ROOT}${EXECPREFIX}/bin/arkmanager"
|
cp arkmanager "${INSTALL_ROOT}${EXECPREFIX}/bin/arkmanager"
|
||||||
chmod +x "${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
|
# Copy arkdaemon to /etc/init.d/arkmanager ,set permissions and add it to boot
|
||||||
cp arkdaemon "${INSTALL_ROOT}/etc/init.d/arkdaemon"
|
cp arkdaemon "${INSTALL_ROOT}/etc/init.d/arkmanager"
|
||||||
chmod +x "${INSTALL_ROOT}/etc/init.d/arkdaemon"
|
chmod +x "${INSTALL_ROOT}/etc/init.d/arkmanager"
|
||||||
# add to startup if the system use sysinit
|
# add to startup if the system use sysinit
|
||||||
if [ -x /usr/sbin/update-rc.d -a -z "${INSTALL_ROOT}" ]; then
|
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 "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
|
fi
|
||||||
|
|
||||||
# Create a folder in /var/log to let Ark tools write its own log files
|
# Create a folder in /var/log to let Ark tools write its own log files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user