mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 15:38:26 +00:00
Rename arkdaemon.service to arkmanager.service
This commit is contained in:
parent
f196df51c6
commit
b2d5554cf4
@ -14,9 +14,9 @@ if [ ! -z "$1" ]; then
|
|||||||
mkdir -p "/usr/libexec/arkmanager"
|
mkdir -p "/usr/libexec/arkmanager"
|
||||||
cp lsb/arkdaemon "/usr/libexec/arkmanager/arkmanager.init"
|
cp lsb/arkdaemon "/usr/libexec/arkmanager/arkmanager.init"
|
||||||
chmod +x "/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 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 "Ark server will now start on boot, if you want to remove this feature run the following line"
|
||||||
echo "systemctl disable arkmanager.service"
|
echo "systemctl disable arkmanager.service"
|
||||||
else # systemd not present, so use sysvinit
|
else # systemd not present, so use sysvinit
|
||||||
@ -49,8 +49,8 @@ if [ ! -z "$1" ]; then
|
|||||||
echo "rc-update del arkmanager default"
|
echo "rc-update del arkmanager default"
|
||||||
fi
|
fi
|
||||||
elif [[ /etc/systemd/system.conf ]]; then # used by systemd
|
elif [[ /etc/systemd/system.conf ]]; then # used by systemd
|
||||||
cp systemd/arkdeamon.service /etc/systemd/system/arkdaemon.service
|
cp systemd/arkdeamon.service /etc/systemd/system/arkmanager.service
|
||||||
systemctl enable arkdeamon.service
|
systemctl enable arkmanager.service
|
||||||
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