From b2d5554cf4e0e12065e07afa11f9b33be62d5384 Mon Sep 17 00:00:00 2001 From: Ben Peddell Date: Thu, 25 Jun 2015 20:45:52 +1000 Subject: [PATCH] Rename arkdaemon.service to arkmanager.service --- tools/install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index d2d8933..836436f 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -14,9 +14,9 @@ if [ ! -z "$1" ]; then mkdir -p "/usr/libexec/arkmanager" cp lsb/arkdaemon "/usr/libexec/arkmanager/arkmanager.init" chmod +x "/usr/libexec/arkmanager/arkmanager.init" - cp systemd/arkdeamon.service /etc/systemd/system/arkdaemon.service + cp systemd/arkdeamon.service /etc/systemd/system/arkmanager.service systemctl daemon-reload - systemctl enable arkdaemon.service + systemctl enable arkmanager.service echo "Ark server will now start on boot, if you want to remove this feature run the following line" echo "systemctl disable arkmanager.service" else # systemd not present, so use sysvinit @@ -49,8 +49,8 @@ if [ ! -z "$1" ]; then echo "rc-update del arkmanager default" fi elif [[ /etc/systemd/system.conf ]]; then # used by systemd - cp systemd/arkdeamon.service /etc/systemd/system/arkdaemon.service - systemctl enable arkdeamon.service + cp systemd/arkdeamon.service /etc/systemd/system/arkmanager.service + systemctl enable arkmanager.service fi # Create a folder in /var/log to let Ark tools write its own log files